Exemplo n.º 1
0
 private void newTurn(Player player)
 {
     Turn = new GameTurn (TurnOver, Board, player, round);
     Turn.Begin ();
 }
Exemplo n.º 2
0
 public TurnState(GameTurn context)
 {
     Context = context;
     Controller = context.TurnPlayer;
     Board = context.Board;
     Map = new UnityBoardMap (Board);
     FriendlyName = "Default";
 }
Exemplo n.º 3
0
 public TurnFinishedState(GameTurn context)
     : base(context)
 {
     FriendlyName = "Ended";
 }
Exemplo n.º 4
0
 public PushPieceState(GameTurn context)
     : base(context)
 {
     FriendlyName = "Pushing";
 }
Exemplo n.º 5
0
 public PlacementTurnState(GameTurn context)
     : base(context)
 {
     FriendlyName = "Placement";
 }
Exemplo n.º 6
0
 public MovePieceState(GameTurn context)
     : base(context)
 {
     FriendlyName = "Movement";
 }