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