Green Rock Engine 0
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Properties | List of all members
GameDemo1.Scripts.EnemySpawner Class Reference
Inheritance diagram for GameDemo1.Scripts.EnemySpawner:
Inheritance graph
[legend]
Collaboration diagram for GameDemo1.Scripts.EnemySpawner:
Collaboration graph
[legend]

Public Member Functions

 EnemySpawner (float radius, uint enemies)
 
void PlayerFrameTouch ()
 
- Public Member Functions inherited from GREngine.Core.System.Behaviour
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

override void OnStart ()
 
override void OnUpdate (GameTime gameTime)
 
- Protected Member Functions inherited from GREngine.Core.System.Behaviour
virtual void OnAwake ()
 
virtual void OnFixedUpdate (GameTime gameTime)
 
virtual void OnDestroy ()
 

Properties

float Radius [get]
 
bool PlayerTouchingFrame = false [get]
 
- Properties inherited from GREngine.Core.System.Behaviour
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

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

Member Function Documentation

◆ OnStart()

override void GameDemo1.Scripts.EnemySpawner.OnStart ( )
inlineprotectedvirtual

Reimplemented from GREngine.Core.System.Behaviour.

◆ OnUpdate()

override void GameDemo1.Scripts.EnemySpawner.OnUpdate ( GameTime  gameTime)
inlineprotectedvirtual

Reimplemented from GREngine.Core.System.Behaviour.


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