summaryrefslogtreecommitdiff
path: root/src/exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/exit.c')
-rw-r--r--src/exit.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/exit.c b/src/exit.c
index 1e23908..9efa7d8 100644
--- a/src/exit.c
+++ b/src/exit.c
@@ -1,13 +1,14 @@
#include "entityimpl.h"
+#include "rotrect.h"
IMPL_UPDATE() {
} IMPL_END
IMPL_DRAW() {
LZY_DrawSetColor(BLACK);
- LZY_DrawRect(this->pos[0] - this->width / 2,
- this->pos[1] - this->height / 2,
- this->width, this->height);
+ rotrect(this->pos[0] - this->width / 2.0,
+ this->pos[1] - this->height / 2.0,
+ this->width, this->height, 0.2);
} IMPL_END
IMPL_INIT(exit) {