-renamed callbacks:
*onAdd -> onAddEntity *onRemove -> onRemoveEntity *update -> onUpdate
This commit is contained in:
parent
d118adc028
commit
7a33e4f94f
3 changed files with 30 additions and 30 deletions
|
|
@ -9,15 +9,15 @@ import ecs.manager;
|
|||
/************************************************************************************************************************
|
||||
*System contain data required to proper glue EntityManager with Systems.
|
||||
*System callbacks:
|
||||
*<br/>-void update(EntitesData);
|
||||
*<br/>-void onUpdate(EntitesData);
|
||||
*<br/>-void onEnable()
|
||||
*<br/>-void onDisable();
|
||||
*<br/>-bool onBegin();
|
||||
*<br/>-void onEnd();
|
||||
*<br/>-void onCreate()
|
||||
*<br/>-void onDestroy();
|
||||
*<br/>-void onAdd(EntitesData);
|
||||
*<br/>-void onRemove(EntitiesData);
|
||||
*<br/>-void onAddEntity(EntitesData);
|
||||
*<br/>-void onRemoveEntity(EntitiesData);
|
||||
*/
|
||||
struct System
|
||||
{
|
||||
|
|
@ -135,8 +135,8 @@ package:
|
|||
void* m_begin;
|
||||
void* m_end;
|
||||
|
||||
void* m_entity_added;
|
||||
void* m_entity_removed;
|
||||
void* m_add_entity;
|
||||
void* m_remove_entity;
|
||||
|
||||
//void function(ref EntityManager.CallData data) m_initialize;
|
||||
//void function(ref EntityManager.CallData data) m_deinitilize;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue