diff options
Diffstat (limited to 'src/entity.h')
-rw-r--r-- | src/entity.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/entity.h b/src/entity.h index 6b8d2e7..bf246d0 100644 --- a/src/entity.h +++ b/src/entity.h @@ -6,8 +6,12 @@ struct Game; typedef struct Entity Entity; struct Entity { unsigned long uuid; + void (*update_begin)(Entity *this, struct Game *g); void (*update)(Entity *this, struct Game *g); + void (*update_end)(Entity *this, struct Game *g); + void (*draw_begin)(Entity *this, struct Game *g); void (*draw)(Entity *this, struct Game *g); + void (*draw_end)(Entity *this, struct Game *g); unsigned int type; const char *name; int pos[2]; |