40 lines
711 B
C
40 lines
711 B
C
#ifndef PIXELDEFENSE_SYSTEMS_H
|
|
#define PIXELDEFENSE_SYSTEMS_H
|
|
|
|
#include <flecs.h>
|
|
|
|
#include "components.h"
|
|
|
|
|
|
/**********************************
|
|
* Entity Systems
|
|
**********************************/
|
|
|
|
/*
|
|
* 0: Game (singleton)
|
|
*/
|
|
void entityRemoved(ecs_iter_t *it);
|
|
/*
|
|
* 0: Game (singleton)
|
|
*/
|
|
void entityAdded(ecs_iter_t *it);
|
|
|
|
/*
|
|
* 0: Game (singleton)
|
|
* 1: Position
|
|
* 2: MoveForce
|
|
*/
|
|
void entityUpdatePhysics(ecs_iter_t *it);
|
|
|
|
|
|
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
|