Gravity Engine 2 5.1
|
Abstract class to provide a API to allow display objects to add themselves to the GravitySceneDisplay (GSD) in the fashion they wish. More...
Public Member Functions | |
void | AddToSceneDisplay (GSDisplay gsd) |
bool | DisplayEnabled () |
virtual void | DisplayEnabledSet (bool value) |
int | DisplayId () |
void | DisplayIdSet (int id) |
GSDisplay | GSDisplay () |
Public Attributes | |
int | framesBetweenUpdates = 0 |
Protected Attributes | |
bool | displayEnabled = true |
int | displayId = -1 |
int | framesUntilUpdate = 0 |
countdown until this display object shold update | |
GSDisplay | gsd |
Abstract class to provide a API to allow display objects to add themselves to the GravitySceneDisplay (GSD) in the fashion they wish.
This is done by having the GSD asking them to add themselves, since each implementation class type has unique information about the context in how it used during a GSD update cycle.
GSD objects will automatically remove themselves from the GSDisplay when destroyed.
int GravityEngine2.GSDisplayObject.framesBetweenUpdates = 0 |
Number of Update frames between updates. This is a suggestion, actual update rate will vary depending on overall distribution. For continuous display set to 0.