|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsimulations.core.Score
public class Score
This class describes the score of player. Or to be exact the score that will be retract at the end of turn.
Constructor Summary | |
---|---|
Score(Player player,
float score)
Creates a new instance of Score |
Method Summary | |
---|---|
Player |
getPlayer()
Getter for property player. |
float |
getScore()
Getter for property score. |
void |
setPlayer(Player player)
Setter for property player. |
void |
setScore(float score)
Setter for property score. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Score(Player player, float score)
player
- The playerscore
- The scoreMethod Detail |
---|
public Player getPlayer()
public void setPlayer(Player player)
player
- New value of property player.public float getScore()
public void setScore(float score)
score
- New value of property score.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |