PackageGame
Classpublic class SandboxSettings



Public Properties
 PropertyDefined by
  background : int
SandboxSettings
  backgroundB : int
SandboxSettings
  backgroundG : int
SandboxSettings
  backgroundR : int
SandboxSettings
  gravity : Number
SandboxSettings
  size : int
SandboxSettings
  terrainTheme : int
SandboxSettings
  terrainType : int
SandboxSettings
Public Methods
 MethodDefined by
  
SandboxSettings(grav:Number, s:int, type:int, theme:int, bg:int, r:int = 0, g:int = 0, b:int = 0)
SandboxSettings
Public Constants
 ConstantDefined by
  BACKGROUND_DUSK : int = 3
[static]
SandboxSettings
  BACKGROUND_MARS : int = 4
[static]
SandboxSettings
  BACKGROUND_NIGHT : int = 2
[static]
SandboxSettings
  BACKGROUND_SKY : int = 0
[static]
SandboxSettings
  BACKGROUND_SOLID_COLOUR : int = 6
[static]
SandboxSettings
  BACKGROUND_SPACE : int = 1
[static]
SandboxSettings
  BACKGROUND_SUNSET : int = 5
[static]
SandboxSettings
  SIZE_LARGE : int = 2
[static]
SandboxSettings
  SIZE_MEDIUM : int = 1
[static]
SandboxSettings
  SIZE_SMALL : int = 0
[static]
SandboxSettings
  TERRAIN_BOX : int = 1
[static]
SandboxSettings
  TERRAIN_DIRT : int = 1
[static]
SandboxSettings
  TERRAIN_EMPTY : int = 2
[static]
SandboxSettings
  TERRAIN_GRASS : int = 0
[static]
SandboxSettings
  TERRAIN_LAND : int = 0
[static]
SandboxSettings
  TERRAIN_MARS : int = 6
[static]
SandboxSettings
  TERRAIN_MOON : int = 5
[static]
SandboxSettings
  TERRAIN_ROCK : int = 3
[static]
SandboxSettings
  TERRAIN_SAND : int = 2
[static]
SandboxSettings
  TERRAIN_SNOW : int = 4
[static]
SandboxSettings
Property detail
backgroundproperty
public var background:int
backgroundBproperty 
public var backgroundB:int
backgroundGproperty 
public var backgroundG:int
backgroundRproperty 
public var backgroundR:int
gravityproperty 
public var gravity:Number
sizeproperty 
public var size:int
terrainThemeproperty 
public var terrainTheme:int
terrainTypeproperty 
public var terrainType:int
Constructor detail
SandboxSettings()constructor
public function SandboxSettings(grav:Number, s:int, type:int, theme:int, bg:int, r:int = 0, g:int = 0, b:int = 0)Parameters
grav:Number
 
s:int
 
type:int
 
theme:int
 
bg:int
 
r:int (default = 0)
 
g:int (default = 0)
 
b:int (default = 0)
Constant detail
BACKGROUND_DUSKconstant
public static const BACKGROUND_DUSK:int = 3
BACKGROUND_MARSconstant 
public static const BACKGROUND_MARS:int = 4
BACKGROUND_NIGHTconstant 
public static const BACKGROUND_NIGHT:int = 2
BACKGROUND_SKYconstant 
public static const BACKGROUND_SKY:int = 0
BACKGROUND_SOLID_COLOURconstant 
public static const BACKGROUND_SOLID_COLOUR:int = 6
BACKGROUND_SPACEconstant 
public static const BACKGROUND_SPACE:int = 1
BACKGROUND_SUNSETconstant 
public static const BACKGROUND_SUNSET:int = 5
SIZE_LARGEconstant 
public static const SIZE_LARGE:int = 2
SIZE_MEDIUMconstant 
public static const SIZE_MEDIUM:int = 1
SIZE_SMALLconstant 
public static const SIZE_SMALL:int = 0
TERRAIN_BOXconstant 
public static const TERRAIN_BOX:int = 1
TERRAIN_DIRTconstant 
public static const TERRAIN_DIRT:int = 1
TERRAIN_EMPTYconstant 
public static const TERRAIN_EMPTY:int = 2
TERRAIN_GRASSconstant 
public static const TERRAIN_GRASS:int = 0
TERRAIN_LANDconstant 
public static const TERRAIN_LAND:int = 0
TERRAIN_MARSconstant 
public static const TERRAIN_MARS:int = 6
TERRAIN_MOONconstant 
public static const TERRAIN_MOON:int = 5
TERRAIN_ROCKconstant 
public static const TERRAIN_ROCK:int = 3
TERRAIN_SANDconstant 
public static const TERRAIN_SAND:int = 2
TERRAIN_SNOWconstant 
public static const TERRAIN_SNOW:int = 4