diff options
| author | octorock <79596758+octorock@users.noreply.github.com> | 2022-07-23 12:43:43 +0200 |
|---|---|---|
| committer | octorock <79596758+octorock@users.noreply.github.com> | 2022-07-25 22:45:55 +0200 |
| commit | 852effa474c159398014da736ade6f0fea454de7 (patch) | |
| tree | 97da22c4758ca4156dc9fb7ac123c7a3b0a9e9f5 /src/object/waterElement.c | |
| parent | ccba86d292a0e4c8a0e07325ac4fb25e5a58dc89 (diff) | |
Rename objects
Diffstat (limited to 'src/object/waterElement.c')
| -rw-r--r-- | src/object/waterElement.c | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/object/waterElement.c b/src/object/waterElement.c new file mode 100644 index 00000000..12aa538d --- /dev/null +++ b/src/object/waterElement.c @@ -0,0 +1,30 @@ +/** + * @file waterElement.c + * @ingroup Objects + * + * @brief Water Element object + */ +#define NENT_DEPRECATED +#include "functions.h" +#include "global.h" +#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) { +} |
