public class CameraPlayer extends Player
Player.boardType, Player.playerType| Constructor and Description |
|---|
CameraPlayer(GameSpecification specs,
Camera camera)
construct a new camera player
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isComputer()
camera is a human player, thus it must override this
|
Move |
move(GameState state,
java.util.ArrayList<Move> allowedMoves)
request the user to make a move, ask the camera to detect the visible
objects and try to figure out what has been moved
|
otherMoved, ratioTimeLeft, setMaximumNumberOfNodes, setMaxTime, setPlayerNumber, startMove, timeUsedpublic CameraPlayer(GameSpecification specs, Camera camera)
public boolean isComputer()
isComputer in class Player