summaryrefslogtreecommitdiff
path: root/src/spike.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/spike.c')
-rw-r--r--src/spike.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/spike.c b/src/spike.c
index 3492a5f..3ab6e54 100644
--- a/src/spike.c
+++ b/src/spike.c
@@ -1,13 +1,12 @@
#include "entityimpl.h"
#include "rotrect.h"
-IMPL_UPDATE() {
-} IMPL_END
+IMPL(update) {}
-IMPL_DRAW() {
+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;