summaryrefslogtreecommitdiff
path: root/src/spike.c
blob: 3492a5f802a8f40cdac0243f24155587c16659ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "entityimpl.h"
#include "rotrect.h"

IMPL_UPDATE() {
} IMPL_END

IMPL_DRAW() {
	rotrect_draw(g->spike_rect, this->pos[0], this->pos[1]);
	rotrect_draw(g->spike_irect, this->pos[0], this->pos[1]);
} IMPL_END

IMPL_INIT(spike) {
	this->height = this->width = 8;
} IMPL_END