| Property | Defined 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 | ||
| Method | Defined by | ||
|---|---|---|---|
|
SandboxSettings(grav:Number, s:int, type:int, theme:int, bg:int, r:int = 0, g:int = 0, b:int = 0)
| SandboxSettings | ||
| Constant | Defined 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 | ||
| background | property |
public var background:int
| backgroundB | property |
public var backgroundB:int
| backgroundG | property |
public var backgroundG:int
| backgroundR | property |
public var backgroundR:int
| gravity | property |
public var gravity:Number
| size | property |
public var size:int
| terrainTheme | property |
public var terrainTheme:int
| terrainType | property |
public var terrainType:int
| 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) |
| BACKGROUND_DUSK | constant |
public static const BACKGROUND_DUSK:int = 3
| BACKGROUND_MARS | constant |
public static const BACKGROUND_MARS:int = 4
| BACKGROUND_NIGHT | constant |
public static const BACKGROUND_NIGHT:int = 2
| BACKGROUND_SKY | constant |
public static const BACKGROUND_SKY:int = 0
| BACKGROUND_SOLID_COLOUR | constant |
public static const BACKGROUND_SOLID_COLOUR:int = 6
| BACKGROUND_SPACE | constant |
public static const BACKGROUND_SPACE:int = 1
| BACKGROUND_SUNSET | constant |
public static const BACKGROUND_SUNSET:int = 5
| SIZE_LARGE | constant |
public static const SIZE_LARGE:int = 2
| SIZE_MEDIUM | constant |
public static const SIZE_MEDIUM:int = 1
| SIZE_SMALL | constant |
public static const SIZE_SMALL:int = 0
| TERRAIN_BOX | constant |
public static const TERRAIN_BOX:int = 1
| TERRAIN_DIRT | constant |
public static const TERRAIN_DIRT:int = 1
| TERRAIN_EMPTY | constant |
public static const TERRAIN_EMPTY:int = 2
| TERRAIN_GRASS | constant |
public static const TERRAIN_GRASS:int = 0
| TERRAIN_LAND | constant |
public static const TERRAIN_LAND:int = 0
| TERRAIN_MARS | constant |
public static const TERRAIN_MARS:int = 6
| TERRAIN_MOON | constant |
public static const TERRAIN_MOON:int = 5
| TERRAIN_ROCK | constant |
public static const TERRAIN_ROCK:int = 3
| TERRAIN_SAND | constant |
public static const TERRAIN_SAND:int = 2
| TERRAIN_SNOW | constant |
public static const TERRAIN_SNOW:int = 4