Generalize easing system (works for all components now)

This commit is contained in:
2023-12-29 20:03:01 +01:00
parent 69232cebf4
commit 3ec7505214
4 changed files with 17 additions and 40 deletions

View File

@@ -36,13 +36,6 @@ void updateUnitAISystem(ecs_iter_t *it);
*/
void updateUnitActionsSystem(ecs_iter_t *it);
/*
* 1: Easing
* 2: Position
* 3: Size
* 4: Rotation
*/
void updateEasingSystem(ecs_iter_t *it);
/**********************************
* Animation Systems
@@ -61,6 +54,11 @@ void updateAnimationState(ecs_iter_t *it);
*/
void updateAnimation(ecs_iter_t *it);
/*
* 1: Easing
*/
void updateEasingSystem(ecs_iter_t *it);
/**********************************
* Entity Systems
**********************************/