コード例 #1
0
 public void SetPhase(TankPhase phase)
 {
     if (phase is TankIdle)
     {
         commands.Clear();
     }
     currentPhase = phase;
 }
コード例 #2
0
 public void SetPhase(TankPhase phase)
 {
     Console.WriteLine("STATE PlayerTank: SetPhase()");
     if (phase is TankIdle)
     {
         commands.Clear();
     }
     currentPhase = phase;
 }