summaryrefslogtreecommitdiff
path: root/src/exit.c
blob: 1e23908c75918a97384280a9ce3195adcbb33107 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "entityimpl.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);
} IMPL_END

IMPL_INIT(exit) {
	this->width = 12;
	this->height = 12;
} IMPL_END