net.sourceforge.simplegamenet.connectaline
Class CALSettings

java.lang.Object
  extended bynet.sourceforge.simplegamenet.specs.GameSettings
      extended bynet.sourceforge.simplegamenet.connectaline.CALSettings
All Implemented Interfaces:
net.sourceforge.simplegamenet.connectaline.CALPlayStyle, Serializable

public class CALSettings
extends net.sourceforge.simplegamenet.specs.GameSettings
implements net.sourceforge.simplegamenet.connectaline.CALPlayStyle

See Also:
Serialized Form

Field Summary
static int ANY_EMPTY_SPOT
           
static Color[] COLORS
           
static int GRAVITY
           
 
Fields inherited from class net.sourceforge.simplegamenet.specs.GameSettings
engine
 
Constructor Summary
CALSettings()
           
CALSettings(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 getLengthOfALine()
           
 int getMaxNumberOfCon()
           
 int getMaxNumberOfPlayers()
           
 int getNumberOfColumns()
           
 int getNumberOfRows()
           
 int getPlayStyle()
           
 int[] getSettingValues()
           
 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
isChangeGameSettingsAllowed, setEngine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COLORS

public static final Color[] COLORS

GRAVITY

public static final int GRAVITY
See Also:
Constant Field Values

ANY_EMPTY_SPOT

public static final int ANY_EMPTY_SPOT
See Also:
Constant Field Values
Constructor Detail

CALSettings

public CALSettings()

CALSettings

public CALSettings(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)

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()

getSettingValues

public int[] getSettingValues()

getMaxNumberOfPlayers

public int getMaxNumberOfPlayers()

getMaxNumberOfCon

public int getMaxNumberOfCon()

getLengthOfALine

public int getLengthOfALine()

getNumberOfColumns

public int getNumberOfColumns()

getNumberOfRows

public int getNumberOfRows()

getPlayStyle

public int getPlayStyle()


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