|
Nebula
|
Public Member Functions | |
| void | RegisterProperty (Property property) |
| Registers a property to the manager. | |
| void | OnBeginFrame () |
| Calls all eventlistener properties that has subscribed to the OnBeginFrame event. | |
| void | OnFrame () |
| Calls all eventlistener properties that has subscribed to the OnFrame event. | |
| void | OnEndFrame () |
| Calls all eventlistener properties that has subscribed to the OnEndFrame event. | |
Properties | |
| static PropertyManager | Instance [get] |
| Returns the property manager singleton instance. | |
Private Member Functions | |
| PropertyManager () | |
Static Private Member Functions | |
| static | PropertyManager () |
Private Attributes | |
| List< Property >[] | eventListeners = new List<Property>[(int)Nebula.Game.FrameEvent.NumEvents] |
Static Private Attributes | |
| static readonly PropertyManager | instance = new PropertyManager() |
|
inlinestaticprivate |
|
inlineprivate |
|
inline |
Calls all eventlistener properties that has subscribed to the OnBeginFrame event.
|
inline |
Calls all eventlistener properties that has subscribed to the OnEndFrame event.
|
inline |
Calls all eventlistener properties that has subscribed to the OnFrame event.
|
inline |
Registers a property to the manager.
Developers usually doesn't need to do this manually - it is subsequently called when adding a property to an entity.
Nebula.Game.Entity.AddProperty(Property)
|
private |
|
staticprivate |
|
staticget |
Returns the property manager singleton instance.