diff options
author | kdx <kdx.42@42l.fr> | 2023-03-26 05:45:46 +0000 |
---|---|---|
committer | kdx <kdx.42@42l.fr> | 2023-03-26 05:45:46 +0000 |
commit | 20d86d093f1783a2a8135c27bcea5e41cce24bb5 (patch) | |
tree | 3d25fc33f1a14210bbed377272c73ea9a71094e9 /src/entity.h | |
parent | aed7f6fa32843256b20224d1ef9f9c2d003e0e58 (diff) | |
download | hyperultra-20d86d093f1783a2a8135c27bcea5e41cce24bb5.tar.gz |
entity init by name
Diffstat (limited to 'src/entity.h')
-rw-r--r-- | src/entity.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/entity.h b/src/entity.h index 532bd12..464b81f 100644 --- a/src/entity.h +++ b/src/entity.h @@ -34,3 +34,4 @@ bool entity_collide(Entity *this, struct Game *g, int ox, int oy); bool entity_meet(Entity *this, Entity *other); Entity *entity_place_meeting(Entity *this, struct Game *g, unsigned int type); void entity_move(Entity *this, struct Game *g); +Entity *entity_init(Entity *this, unsigned int type, int x, int y); |