summaryrefslogtreecommitdiff
path: root/src/entity.h
diff options
context:
space:
mode:
authorkdx <kdx.42@42l.fr>2023-03-26 07:11:55 +0000
committerkdx <kdx.42@42l.fr>2023-03-26 07:11:55 +0000
commit83f5fc33df8ea2b8df661f921f157080d472a0ae (patch)
tree2862b2afa978a700f6cfa39601c6d87a9bf72260 /src/entity.h
parent60b9ce29c42ac9fff81c677ab0426415046259b3 (diff)
downloadhyperultra-83f5fc33df8ea2b8df661f921f157080d472a0ae.tar.gz
simplify entityimpl a bit
Diffstat (limited to 'src/entity.h')
-rw-r--r--src/entity.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/entity.h b/src/entity.h
index 464b81f..0051639 100644
--- a/src/entity.h
+++ b/src/entity.h
@@ -11,8 +11,8 @@ enum { ET_NONE = 0 };
typedef struct Entity Entity;
struct Entity {
unsigned long uuid;
- Entity *(*update)(Entity *this, struct Game *g);
- Entity *(*draw)(Entity *this, struct Game *g);
+ void (*update)(Entity *this, struct Game *g);
+ void (*draw)(Entity *this, struct Game *g);
unsigned int type;
int id;
int pos[2];