Skip to content

Commit

Permalink
Fixed typo. generateJumpFrontier now calls generateJumpMoves
Browse files Browse the repository at this point in the history
  • Loading branch information
john committed Apr 27, 2016
1 parent e896423 commit 03078c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model/Board.java
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ public ArrayList<Board> generateJumpFrontier(Color color) {
for (int j = 0; j < BOARD_SIZE; ++j) {
Piece p = this.representation[i][j];
if (null != p && p.getColor() == color) {
ArrayList<Move> jump_moves = generateMoves(this.representation[i][j]);
ArrayList<Move> jump_moves = generateJumpMoves(this.representation[i][j]);
for (Move jump : jump_moves) {
Board board = new Board(this);
board.move(jump);
Expand Down

0 comments on commit 03078c0

Please sign in to comment.