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