Green Rock Engine 0
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | Properties | List of all members
GREngine.Core.System.Behaviour Class Referenceabstract

Represents a unit of logic within the scene graph. More...

Inheritance diagram for GREngine.Core.System.Behaviour:
Inheritance graph
[legend]
Collaboration diagram for GREngine.Core.System.Behaviour:
Collaboration graph
[legend]

Public Member Functions

override void SetEnabled (bool state)
 
int CompareTo (Behaviour? other)
 
- Public Member Functions inherited from GREngine.Core.System.AbstractGameObject
delegate void EnabledChanged (bool state)
 
bool HasTag (string tag)
 

Protected Member Functions

virtual void OnAwake ()
 
virtual void OnStart ()
 
virtual void OnUpdate (GameTime gameTime)
 
virtual void OnFixedUpdate (GameTime gameTime)
 
virtual void OnDestroy ()
 

Protected Attributes

readonly uint InstanceID
 
- Protected Attributes inherited from GREngine.Core.System.AbstractGameObject
readonly HashSet< string > Tags = new()
 

Properties

Game Game [get, set]
 
NodeNode [get, set]
 
- Properties inherited from GREngine.Core.System.AbstractGameObject
bool Enabled = true [get]
 
string Name = "Generic Object" [get, protected set]
 

Additional Inherited Members

- Events inherited from GREngine.Core.System.AbstractGameObject
EnabledChanged? EnabledChangedEvent
 

Detailed Description

Represents a unit of logic within the scene graph.

Member Function Documentation

◆ SetEnabled()

override void GREngine.Core.System.Behaviour.SetEnabled ( bool  state)
inlinevirtual

The documentation for this class was generated from the following file: