bugfix API
This commit is contained in:
@@ -33,7 +33,7 @@ public abstract class AbstractBoard implements IBoard{
|
|||||||
// Beware not checking if history is not empty
|
// Beware not checking if history is not empty
|
||||||
// To be used in undo()
|
// To be used in undo()
|
||||||
private void removePlyFromHistory(){
|
private void removePlyFromHistory(){
|
||||||
return this.history.removeLast();
|
this.history.removeLast();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -8,7 +8,7 @@ import java.util.Iterator;
|
|||||||
public abstract class AbstractGamePlayer {
|
public abstract class AbstractGamePlayer {
|
||||||
|
|
||||||
// not a band, but which type of player I am in the game (PLAYER1 or PLAYER2).
|
// not a band, but which type of player I am in the game (PLAYER1 or PLAYER2).
|
||||||
private iAm Player;
|
private Player iAm;
|
||||||
|
|
||||||
// Le joueur réel pourrait avoir besoin de connaître un constructeur de coup?
|
// Le joueur réel pourrait avoir besoin de connaître un constructeur de coup?
|
||||||
// pas pour l'instant.
|
// pas pour l'instant.
|
||||||
@@ -21,6 +21,6 @@ public abstract class AbstractGamePlayer {
|
|||||||
*
|
*
|
||||||
* @throws IllegalStateException if the Situation is already in the bookmarks
|
* @throws IllegalStateException if the Situation is already in the bookmarks
|
||||||
*/
|
*/
|
||||||
public abstract AbstractPly (IBoard p);
|
public abstract AbstractPly giveYourMove(IBoard p);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user