hyperultra/src/spike.c

15 lines
280 B
C
Raw Normal View History

2023-03-19 01:28:54 +01:00
#include "entityimpl.h"
2023-03-19 01:37:14 +01:00
#include "rotrect.h"
2023-03-19 01:28:54 +01:00
IMPL_UPDATE() {
} IMPL_END
IMPL_DRAW() {
2023-03-23 22:42:37 +01:00
rotrect_draw(g->spike_rect, this->pos[0], this->pos[1]);
rotrect_draw(g->spike_irect, this->pos[0], this->pos[1]);
2023-03-19 01:28:54 +01:00
} IMPL_END
IMPL_INIT(spike) {
2023-03-19 01:37:14 +01:00
this->height = this->width = 8;
2023-03-19 01:28:54 +01:00
} IMPL_END