de.spieleck.game.numfield
Class NumfieldRuleCustomizer

java.lang.Object
  |
  +--de.spieleck.game.numfield.NumfieldRuleCustomizer
All Implemented Interfaces:
GameBean, GameRuleCustomizer, ValidatableInput

public abstract class NumfieldRuleCustomizer
extends java.lang.Object
implements GameRuleCustomizer

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

setMinBet

public void setMinBet(int minBet)
               throws GameException

getMinBet

public int getMinBet()

setMaxBet

public void setMaxBet(int maxBet)
               throws NumfieldException

getMaxBet

public int getMaxBet()

freeze

public void freeze()

isFrozen

public boolean isFrozen()
Description copied from interface: GameRuleCustomizer
We need to check weather state can still be customized or has to be considered read-only from now.
Specified by:
isFrozen in interface GameRuleCustomizer

checkFrozen

protected void checkFrozen()
                    throws NumfieldException


gameframe project