diff options
Diffstat (limited to 'src/game/game.hpp')
-rw-r--r-- | src/game/game.hpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/game/game.hpp b/src/game/game.hpp index 04380be..c17de64 100644 --- a/src/game/game.hpp +++ b/src/game/game.hpp @@ -201,13 +201,17 @@ namespace game { DECO_NEST } deco_type_t; - class deco_t : public world::entity_t { - game::state_t *game; + class deco_t : public game::entity_t { deco_type_t type; + public: double phase_shift; + deco_t(game::state_t *game, deco_type_t type_); - void spawn(world::world_t *world, v2f_t x); void render_to(render::state_t *render); + + void on_think(void) {}; + void on_spawn(void) {}; + void on_wake(void) {}; }; }; |