ported from perforce
This commit is contained in:
18
RobotAndDonkey.Game/Execution/Commands/RunProgramCommand.cs
Normal file
18
RobotAndDonkey.Game/Execution/Commands/RunProgramCommand.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using RobotAndDonkey.Game.Execution.Requests;
|
||||
using RobotAndDonkey.Game.GameState;
|
||||
using RobotAndDonkey.Game.Intents;
|
||||
|
||||
namespace RobotAndDonkey.Game.Execution.Commands;
|
||||
|
||||
public sealed record RunProgramCommand(Guid RequestId) : Command(RequestId, typeof(ExecuteProgramRequest))
|
||||
{
|
||||
protected override void CreateIntents(CoreLoop coreLoop, List<Intent> intents)
|
||||
{
|
||||
intents.Add(new RunProgram());
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "Run program command";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user