public StrategoGame() { bank = new PieceBank(); bank.Initialize(); state = new GameState(); state.Board[2, 4] = GamePieceFactory.Create(GamePieceType.Block, false); state.Board[2, 5] = GamePieceFactory.Create(GamePieceType.Block, false); state.Board[3, 4] = GamePieceFactory.Create(GamePieceType.Block, false); state.Board[3, 5] = GamePieceFactory.Create(GamePieceType.Block, false); state.Board[6, 4] = GamePieceFactory.Create(GamePieceType.Block, false); state.Board[6, 5] = GamePieceFactory.Create(GamePieceType.Block, false); state.Board[7, 4] = GamePieceFactory.Create(GamePieceType.Block, false); state.Board[7, 5] = GamePieceFactory.Create(GamePieceType.Block, false); }
public GameState() { Board = new GamePiece[10, 10]; Turn = PlayerTurn.Setup; Bank = new PieceBank(); }