com.askywhale.missing
Class Player
java.lang.Object
com.askywhale.missing.Player
- Direct Known Subclasses:
- ComputerPlayer, HumanPlayer
public abstract class Player
- extends java.lang.Object
game related and choice related methods
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Player
public Player()
Player
public Player(Player oldPlayer)
getChildren
public int getChildren()
setChildren
public void setChildren(int children)
getPrediction
public int getPrediction()
setPrediction
public void setPrediction(int prediction)
getScore
public int getScore()
setScore
public void setScore(int score)
getGame
public Game getGame()
setGame
public void setGame(Game game)
isPlayed
public boolean isPlayed()
setPlayed
public void setPlayed(boolean played)
play
public int play()
canSeePlayer
public boolean canSeePlayer(Player p)
getNewPrediction
public abstract int getNewPrediction()