summaryrefslogtreecommitdiff
path: root/src/exit.c
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/exit.c
parent60b9ce29c42ac9fff81c677ab0426415046259b3 (diff)
downloadhyperultra-83f5fc33df8ea2b8df661f921f157080d472a0ae.tar.gz
simplify entityimpl a bit
Diffstat (limited to 'src/exit.c')
-rw-r--r--src/exit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/exit.c b/src/exit.c
index c6ad4cb..3aaad42 100644
--- a/src/exit.c
+++ b/src/exit.c
@@ -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;