blob: f09537f0d289b0d78426e7ce3d1eca12ecfa62d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include "entityimpl.h"
#include "rotrect.h"
extern double tick;
IMPL_UPDATE() {
} IMPL_END
IMPL_DRAW() {
rotrect(this->pos[0], this->pos[1], 10, 10, g->spike_angle);
rotrect(this->pos[0], this->pos[1], 10, 10, -g->spike_angle);
} IMPL_END
IMPL_INIT(spike) {
this->height = this->width = 8;
} IMPL_END
|