diff options
Diffstat (limited to 'src/spike.c')
-rw-r--r-- | src/spike.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/spike.c b/src/spike.c index 3ab6e54..2f178e9 100644 --- a/src/spike.c +++ b/src/spike.c @@ -1,13 +1,11 @@ #include "entityimpl.h" #include "rotrect.h" -IMPL(update) {} +IMPL_INIT(spike) { + this->height = this->width = 8; +} 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 |