net.sourceforge.simplegamenet.dice
Class DiceSettings

java.lang.Object
  extended bynet.sourceforge.simplegamenet.specs.GameSettings
      extended bynet.sourceforge.simplegamenet.dice.DiceSettings
All Implemented Interfaces:
DiceSettingOptions, Serializable

public class DiceSettings
extends net.sourceforge.simplegamenet.specs.GameSettings
implements DiceSettingOptions

See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.sourceforge.simplegamenet.specs.GameSettings
engine
 
Fields inherited from interface net.sourceforge.simplegamenet.dice.DiceSettingOptions
FIRST_PLAYER, MIN_10, MIN_5, NONE
 
Constructor Summary
DiceSettings()
           
DiceSettings(int[] amountValues, int[] settingValues)
           
 
Method Summary
 net.sourceforge.simplegamenet.specs.GameSettings createChangedGameSettings(net.sourceforge.simplegamenet.specs.GameSettingsPanel gameSettingsPanel)
           
 net.sourceforge.simplegamenet.specs.PlayerSettings createDefaultPlayerSettings(Integer playerID, int playerType, String nickname)
           
 net.sourceforge.simplegamenet.specs.GameSettingsPanel createGameSettingsPanel()
           
 int[] getAmountValues()
           
 int[] getSettingValues()
           
 boolean isChangeGameSettingsAllowed(net.sourceforge.simplegamenet.specs.GameSettings newGameSettings)
           
 boolean isChangePlayerSettingsAllowed(net.sourceforge.simplegamenet.specs.PlayerSettings currentPlayerSettings, net.sourceforge.simplegamenet.specs.PlayerSettings changedPlayerSettings)
           
 boolean isCreateDefaultPlayerSettingsAllowed(int playerType)
           
 boolean isStartGameAllowed()
           
 
Methods inherited from class net.sourceforge.simplegamenet.specs.GameSettings
setEngine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiceSettings

public DiceSettings()

DiceSettings

public DiceSettings(int[] amountValues,
                    int[] settingValues)
Method Detail

createGameSettingsPanel

public net.sourceforge.simplegamenet.specs.GameSettingsPanel createGameSettingsPanel()

createChangedGameSettings

public net.sourceforge.simplegamenet.specs.GameSettings createChangedGameSettings(net.sourceforge.simplegamenet.specs.GameSettingsPanel gameSettingsPanel)

getAmountValues

public int[] getAmountValues()

getSettingValues

public int[] getSettingValues()

isChangeGameSettingsAllowed

public boolean isChangeGameSettingsAllowed(net.sourceforge.simplegamenet.specs.GameSettings newGameSettings)

isCreateDefaultPlayerSettingsAllowed

public boolean isCreateDefaultPlayerSettingsAllowed(int playerType)

createDefaultPlayerSettings

public net.sourceforge.simplegamenet.specs.PlayerSettings createDefaultPlayerSettings(Integer playerID,
                                                                                      int playerType,
                                                                                      String nickname)

isChangePlayerSettingsAllowed

public boolean isChangePlayerSettingsAllowed(net.sourceforge.simplegamenet.specs.PlayerSettings currentPlayerSettings,
                                             net.sourceforge.simplegamenet.specs.PlayerSettings changedPlayerSettings)

isStartGameAllowed

public boolean isStartGameAllowed()


Copyright © 2003-2004 The 3 Belgians. All Rights Reserved.