|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.spieleck.game.numfield.NumfieldRule
This interface represents a Rule of a game.
Method Summary | |
GameRuleCustomizer |
getCustomizer()
Return a bean allowing for customization of the rules of a game. |
java.lang.String |
getGameName()
Give the game a name. |
GameState |
getInitialState(PlayerCollection players,
GameRuleCustomizer customizer)
Return an valid initial state for a game. |
static NumfieldRule |
getInstance()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static NumfieldRule getInstance()
public java.lang.String getGameName()
GameRule
getGameName
in interface GameRule
public GameRuleCustomizer getCustomizer()
GameRule
getCustomizer
in interface GameRule
public GameState getInitialState(PlayerCollection players, GameRuleCustomizer customizer) throws NumfieldException
GameRule
getInitialState
in interface GameRule
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |