diff options
author | kdx <kdx.42@42l.fr> | 2023-03-26 07:11:55 +0000 |
---|---|---|
committer | kdx <kdx.42@42l.fr> | 2023-03-26 07:11:55 +0000 |
commit | 83f5fc33df8ea2b8df661f921f157080d472a0ae (patch) | |
tree | 2862b2afa978a700f6cfa39601c6d87a9bf72260 /src/exit.c | |
parent | 60b9ce29c42ac9fff81c677ab0426415046259b3 (diff) | |
download | hyperultra-83f5fc33df8ea2b8df661f921f157080d472a0ae.tar.gz |
simplify entityimpl a bit
Diffstat (limited to 'src/exit.c')
-rw-r--r-- | src/exit.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,14 +1,14 @@ #include "entityimpl.h" #include "rotrect.h" -IMPL_UPDATE() { -} IMPL_END +IMPL(update) { +} -IMPL_DRAW() { +IMPL(draw) { LZY_DrawSetColor(BLACK); rotrect(this->pos[0], this->pos[1], this->width, this->height, 0.2 * this->exit.dir); -} IMPL_END +} IMPL_INIT(exit) { this->width = 12; |