Methods
init(application)
Initializes the scene.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
application |
CGFapplication
|
the application |
onCameraChanged()
Event called when the camera is changed in the inteface.
- Source:
onSkinChanged()
Event called when a blimp skin is changed in the interface.
- Source:
onSupplySkinChanged()
Event called when a supply skin is changed in the interface.
- Source:
onTerrainChanged()
Event called when a terrain is changed in the interface.
- Source:
update(t)
Updates periodically each object in the scene (as per setUpdatePeriod() in init())
- Source:
Parameters:
Name | Type | Description |
---|---|---|
t |
number
|
the current time |