Use component for unit selection

This commit is contained in:
2023-12-02 11:53:45 +01:00
parent 6fe4449adf
commit 17bfe7f52d
6 changed files with 106 additions and 73 deletions

View File

@@ -82,14 +82,14 @@ void renderDebugPath(ecs_iter_t *it);
* 0: Game (singleton)
* 0: InputState (singleton)
*/
void updatePlayerInput(ecs_iter_t *it);
void updatePlayerInput();
/*
* Task:
* 0: Game (singleton)
* 0: InputState (singleton)
*/
void drawPlayerInputUI(ecs_iter_t *it);
void drawPlayerInputUI();
/**********************************
* UI systems