Пример #1
0
 public override void Handle(Turn turn)
 {
     Console.WriteLine("Turn over. Starting next player's turn");
     turn.Phase = new Beginning();
 }
Пример #2
0
 public abstract void Handle(Turn turn);
Пример #3
0
 private static string canEquipCreatures(Turn turn)
 {
     return(turn.CanEquipCreatures() ?
            "Allowed to Equip Creatures" :
            "Not Allowed to Equip Creatures");
 }
Пример #4
0
 public override void Handle(Turn turn)
 {
     Console.WriteLine("Moving to Combat Phase");
     turn.Phase = new Combat();
 }
Пример #5
0
 public override void Handle(Turn turn)
 {
     Console.WriteLine("Moving to 2nd Main Phase");
     turn.Phase = new SecondMain();
 }
Пример #6
0
 public override void Handle(Turn turn)
 {
     Console.WriteLine("Moving to End Phase");
     turn.Phase = new End();
 }