| 
|||||||||
| 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()
GameRulegetGameName in interface GameRulepublic GameRuleCustomizer getCustomizer()
GameRulegetCustomizer in interface GameRule
public GameState getInitialState(PlayerCollection players,
                                 GameRuleCustomizer customizer)
                          throws NumfieldException
GameRulegetInitialState in interface GameRule
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||