Files
zfxaction25/RobotAndDonkey.Game/Execution/Commands/StartBufferOverflowCommand.cs
2026-04-19 00:43:27 +02:00

21 lines
650 B
C#

using System;
using System.Collections.Generic;
using RobotAndDonkey.Game.Data;
using RobotAndDonkey.Game.Execution.Requests;
using RobotAndDonkey.Game.GameState;
using RobotAndDonkey.Game.Intents;
namespace RobotAndDonkey.Game.Execution.Commands;
public sealed record StartBufferOverflowCommand(Guid RequestId) : Command(RequestId, typeof(ImproveRequest))
{
protected override void CreateIntents(CoreLoop coreLoop, List<Intent> intents)
{
intents.Add(new EnterBufferOverflow(Balancing.Instance.BufferOverflowEnergyCost));
}
public override string ToString()
{
return "Start buffer overflow command";
}
}