Class: SystemSkybox

SystemSkybox

A skybox of the game

new SystemSkybox (json)

Name Type Description
json Object optional Json object describing the skybox
Properties:
Name Type Description
front number The front picture ID
back number The back picture ID
top number The top picture ID
bot number The bot picture ID
left number The left picture ID
right number The right picture ID

Members

createTextures

Create the textures for the background

Methods

read (json)

Read the JSON associated to the skybox
Name Type Description
json Object Json object describing the skybox