27 lines
640 B
Java
27 lines
640 B
Java
package fr.iut_fbleau.GameAPI;
|
|
|
|
import java.util.Iterator;
|
|
|
|
/**
|
|
* The abstract class for a game Player.
|
|
*/
|
|
public abstract class AbstractGamePlayer {
|
|
|
|
// not a band, but which type of player I am in the game (PLAYER1 or PLAYER2).
|
|
private Player iAm;
|
|
|
|
// Le joueur réel pourrait avoir besoin de connaître un constructeur de coup?
|
|
// pas pour l'instant.
|
|
|
|
|
|
/**
|
|
*
|
|
*
|
|
* @throws UnsupportedOperationException if the method is not yet implemented
|
|
*
|
|
* @throws IllegalStateException if the Situation is already in the bookmarks
|
|
*/
|
|
public abstract AbstractPly giveYourMove(IBoard p);
|
|
|
|
}
|