1.1 --- a/webidor/src/main/java/cz/xelfi/quoridor/webidor/Game.java Sun Aug 30 16:04:27 2009 +0200
1.2 +++ b/webidor/src/main/java/cz/xelfi/quoridor/webidor/Game.java Sun Aug 30 16:15:37 2009 +0200
1.3 @@ -61,10 +61,12 @@
1.4
1.5 public Game(String first, String second) {
1.6 this.id = new GameId(first, second);
1.7 + this.board = Board.empty();
1.8 }
1.9
1.10 public Game(GameId id) {
1.11 this.id = id;
1.12 + this.board = Board.empty();
1.13 }
1.14
1.15 public GameId getId() {
1.16 @@ -72,9 +74,6 @@
1.17 }
1.18
1.19 public Board getBoard() {
1.20 - if (board == null) {
1.21 - board = Board.empty();
1.22 - }
1.23 return board;
1.24 }
1.25