Restructure files

This commit is contained in:
2023-11-15 08:23:58 +01:00
parent d37936ce7f
commit e9bdc623fc
7 changed files with 16 additions and 12 deletions

22
game/systems.h Normal file
View File

@@ -0,0 +1,22 @@
#ifndef PIXELDEFENSE_SYSTEMS_H
#define PIXELDEFENSE_SYSTEMS_H
#include <flecs.h>
#include "components.h"
/**********************************
* Entity Systems
**********************************/
void renderEntities(ecs_iter_t *it);
void updateAnimations(ecs_iter_t *it);
void updatePos(ecs_iter_t *it);
void targetFinish(ecs_iter_t *it);
void startPath(ecs_iter_t *it);
void drawDebugPath(ecs_iter_t *it);
void uiTask(ecs_iter_t *it);
#endif //PIXELDEFENSE_SYSTEMS_H