hyperultra/src/spike.c

14 lines
259 B
C

#include "entityimpl.h"
#include "rotrect.h"
IMPL(update) {}
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_INIT(spike) {
this->height = this->width = 8;
} IMPL_END