Exemplo n.º 1
0
 public void MoveGamePieceToBoard(GamePiece gp, int dice, Player player)
 {
     gp.PositionType = PositionType.OuterPath;
     MoveGamePiece(gp, dice, player);
 }
Exemplo n.º 2
0
 //Get index of a specific piece
 private int GetPieceIndex(int playerIndex, GamePiece piece)
 {
     return(GamePlayers[playerIndex].Pieces.IndexOf(GamePlayers[playerIndex].Pieces.Single(p => p.PieceID == piece.PieceID)));
 }