Browse Source

Added stuff for ticking/drawing main app entity independently from other entities

undefined
Benjamin ‘Touky’ Huet Sam Hocevar <sam@hocevar.net> 9 years ago
parent
commit
e9b72ec53a
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/entity.h

+ 2
- 0
src/entity.h View File

@@ -68,6 +68,7 @@ protected:

GAMEGROUP_INPUT, //Input should be polled before everything else
GAMEGROUP_IMGUI, //Debug update needs to be called before the rest for init purposes
GAMEGROUP_APP, //Main application update
GAMEGROUP_ENTITY, //Default entity update
//------------------//Split entity update:
GAMEGROUP_PLAYER, //Player updates before AI to ensure player actions is prevalent
@@ -101,6 +102,7 @@ protected:
DRAWGROUP_OTHER_1, //Same ------------------
DRAWGROUP_OTHER_2, //Same ------------------
DRAWGROUP_OTHER_3, //Same ------------------
GAMEGROUP_APP, //Main application Draw
DRAWGROUP_HUD,
DRAWGROUP_IMGUI,
DRAWGROUP_CAPTURE,


Loading…
Cancel
Save