using System; using System.Collections.Generic; using RobotAndDonkey.Game.Execution.Requests; using RobotAndDonkey.Game.GameState; using RobotAndDonkey.Game.Intents; namespace RobotAndDonkey.Game.Execution.Commands; public sealed record StopGamblingCommand(Guid RequestId) : Command(RequestId, typeof(GambleRequest)) { protected override void CreateIntents(CoreLoop coreLoop, List intents) { intents.Add(new NextPhase(ERunPhase.Improve)); } public override string ToString() { return "Stop gambling command"; } }