|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.spieleck.game.numfield.NumfieldRuleCustomizer
This interface represents the rules of a game.
Method Summary | |
protected void |
checkFrozen()
|
void |
freeze()
|
int |
getMaxBet()
|
int |
getMinBet()
|
boolean |
isFrozen()
We need to check weather state can still be customized or has to be considered read-only from now. |
void |
setMaxBet(int maxBet)
|
void |
setMinBet(int minBet)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.spieleck.game.base.ValidatableInput |
validate |
Method Detail |
public void setMinBet(int minBet) throws GameException
public int getMinBet()
public void setMaxBet(int maxBet) throws NumfieldException
public int getMaxBet()
public void freeze()
public boolean isFrozen()
GameRuleCustomizer
isFrozen
in interface GameRuleCustomizer
protected void checkFrozen() throws NumfieldException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |