public void SetPhase(TankPhase phase) { if (phase is TankIdle) { commands.Clear(); } currentPhase = phase; }
public void SetPhase(TankPhase phase) { Console.WriteLine("STATE PlayerTank: SetPhase()"); if (phase is TankIdle) { commands.Clear(); } currentPhase = phase; }