2023-03-18 21:54:01 +01:00
|
|
|
#include "entityimpl.h"
|
2023-03-19 07:16:10 +01:00
|
|
|
#include "rotrect.h"
|
2023-03-17 20:51:15 +01:00
|
|
|
|
2023-03-26 09:26:47 +02:00
|
|
|
IMPL_INIT(exit) {
|
|
|
|
this->width = 12;
|
|
|
|
this->height = 12;
|
|
|
|
this->exit.dir = 1;
|
2023-03-26 09:11:55 +02:00
|
|
|
}
|
2023-03-18 21:54:01 +01:00
|
|
|
|
2023-03-26 09:11:55 +02:00
|
|
|
IMPL(draw) {
|
2023-03-17 20:51:15 +01:00
|
|
|
LZY_DrawSetColor(BLACK);
|
2023-03-20 18:29:06 +01:00
|
|
|
rotrect(this->pos[0], this->pos[1],
|
2023-03-21 21:17:54 +01:00
|
|
|
this->width, this->height, 0.2 * this->exit.dir);
|
2023-03-26 09:11:55 +02:00
|
|
|
}
|