|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPlayer
Interface for Player
model
Method Summary | |
---|---|
IHand |
getHand()
Get the current hand of the player |
boolean |
getLaidOut()
Has the player laid out yet? |
int |
getLastTurnStoneCount()
Gets the number of stones put on table in player's last turn |
PlayerSettings |
getPlayerSettings()
Returns the player settings |
void |
setHand(IHand hand)
Set the current hand of the player |
void |
setLaidOut(boolean laidOut)
Set if the player laid out |
void |
setLastTurnInvalid(boolean value)
Sets last turn invalid |
void |
setLastTurnStoneCount(int value)
Sets the number of stones out on the table in player's last turn |
boolean |
wasLastTurnInvalid()
Getter for last turn invalid |
Method Detail |
---|
IHand getHand()
void setHand(IHand hand)
hand
- the new handboolean getLaidOut()
PlayerSettings getPlayerSettings()
void setLaidOut(boolean laidOut)
laidOut
- the player laid outboolean wasLastTurnInvalid()
void setLastTurnInvalid(boolean value)
value
- last turn invalidint getLastTurnStoneCount()
void setLastTurnStoneCount(int value)
value
- number of stones
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |