blob: 4ff3d9fa0693559eb0b63865e16f21c1f8311b63 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
/**
* @file waterElement.c
* @ingroup Objects
*
* @brief Water Element object
*/
#include "object.h"
void WaterElement_Init(Entity*);
void WaterElement_Action1(Entity*);
void WaterElement(Entity* this) {
static void (*const WaterElement_Actions[])(Entity*) = {
WaterElement_Init,
WaterElement_Action1,
};
WaterElement_Actions[this->action](this);
}
void WaterElement_Init(Entity* this) {
this->action = 1;
this->frameIndex = 0;
this->spritePriority.b0 = 5;
}
void WaterElement_Action1(Entity* this) {
}
|