bugfix API

This commit is contained in:
2025-09-18 15:33:20 +02:00
parent 45444e48bd
commit bb2b77d208
2 changed files with 3 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ public abstract class AbstractBoard implements IBoard{
// Beware not checking if history is not empty
// To be used in undo()
private void removePlyFromHistory(){
return this.history.removeLast();
this.history.removeLast();
}

View File

@@ -8,7 +8,7 @@ import java.util.Iterator;
public abstract class AbstractGamePlayer {
// 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?
// pas pour l'instant.
@@ -21,6 +21,6 @@ public abstract class AbstractGamePlayer {
*
* @throws IllegalStateException if the Situation is already in the bookmarks
*/
public abstract AbstractPly (IBoard p);
public abstract AbstractPly giveYourMove(IBoard p);
}