jGame-Pathfinder/javaState/Player.java

21 lines
326 B
Java
Raw Normal View History

2023-07-28 21:04:54 +02:00
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();
}