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