18 lines
323 B
C
18 lines
323 B
C
#include "entityimpl.h"
|
|
#include "rotrect.h"
|
|
|
|
IMPL_UPDATE() {
|
|
} IMPL_END
|
|
|
|
IMPL_DRAW() {
|
|
LZY_DrawSetColor(BLACK);
|
|
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) {
|
|
this->width = 12;
|
|
this->height = 12;
|
|
} IMPL_END
|