begin pgn
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package chess.model;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Stack;
|
||||
|
||||
@@ -139,4 +140,8 @@ public class Game {
|
||||
undoTraitPiecesPos(Color.getEnemy(playerTurn));
|
||||
}
|
||||
|
||||
public List<PlayerCommand> getMoves() {
|
||||
return this.movesHistory;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user