19 lines
557 B
C#
19 lines
557 B
C#
using RobotAndDonkey.Game.Execution.Requests;
|
|
using RobotAndDonkey.Game.GameState;
|
|
using RobotAndDonkey.Game.Intents;
|
|
|
|
namespace RobotAndDonkey.Game.Execution.Commands;
|
|
|
|
public sealed record NextAssignmentCommand(Guid RequestId) : Command(RequestId, typeof(ScoringRequest))
|
|
{
|
|
protected override void CreateIntents(CoreLoop coreLoop, List<Intent> intents)
|
|
{
|
|
coreLoop.ResetShop();
|
|
intents.Add(new NextPhase(ERunPhase.DrawGlitch));
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return $"Next assignment command";
|
|
}
|
|
} |