Class EnemyController
- Namespace
- AstraEngine.Examples.Collisions
- Assembly
- AstraEngine.Examples.dll
public class EnemyController : Component
- Inheritance
-
EnemyController
- Inherited Members
Properties
Collider
public BoxCollider2D Collider { get; }
Property Value
Speed
The speed of the entity
public double Speed { get; set; }
Property Value
Methods
Initialize()
Executed when this Component is first active. Runs before Tick.
public override void Initialize()
Tick(double)
Apply's a time based changes
public override void Tick(double delta)
Parameters
deltadoubleThe amount of time in seconds that has passed