diff options
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; |