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
|
|
|
|
2023-03-26 09:26:47 +02:00
|
|
|
IMPL_INIT(spike) {
|
|
|
|
this->height = this->width = 8;
|
|
|
|
}
|
2023-03-19 01:28:54 +01:00
|
|
|
|
2023-03-26 09:11:55 +02:00
|
|
|
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-26 09:11:55 +02:00
|
|
|
}
|