mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
Start of using CoreCLR and automatic scriptglue generation
This commit is contained in:
+12
-6
@@ -414,12 +414,18 @@ public class Entity : EngineObject
|
||||
return new Entity(newEntityId);
|
||||
}
|
||||
|
||||
// Will be executed once after the entity has be created.
|
||||
// void OnCreate();
|
||||
/// <summary>
|
||||
/// Will be executed once after the entity has be created.
|
||||
/// </summary>
|
||||
protected internal virtual void OnCreate() { }
|
||||
|
||||
// Will be executed every frame.
|
||||
// void OnUpdate(GameTime);
|
||||
/// <summary>
|
||||
/// Is called once every frame.
|
||||
/// </summary>
|
||||
protected internal virtual void OnUpdate(float deltaTime) { }
|
||||
|
||||
// Will be executed once when the entity is being destroyed.
|
||||
// void OnDestroy();
|
||||
/// <summary>
|
||||
/// Will be executed once when the entity is being destroyed.
|
||||
/// </summary>
|
||||
protected internal virtual void OnDestroy() { }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user