20 lines
326 B
Java
20 lines
326 B
Java
package javaState;
|
|
|
|
public abstract class Player {
|
|
|
|
enum PlayerType{
|
|
Human,
|
|
AI
|
|
}
|
|
|
|
public abstract String getName();
|
|
|
|
public abstract void init(GameState state);
|
|
|
|
public abstract Controller executeTurn(GameState state, Controller controller);
|
|
|
|
public abstract PlayerType getType();
|
|
|
|
|
|
}
|
|
|