Implements update logic for Recharge enemy type. More...
#include <enemy_recharge.h>#include <player.h>#include <time_system.h>#include <random.h>#include <circle.h>Functions | |
| Vec2 | Recharge_GetDirection (EnemyData *data) |
| Gets the direction for the Recharge enemy to move towards Recharge typically moves towards the closest non-recharge enemy detected. | |
| void | Recharge_Update (EnemyData *data) |
| [PostUpdate] Updates the Recharge enemy's state | |
Implements update logic for Recharge enemy type.
Contains the AI behavior and state updates for the Recharge enemy.
Gets the direction for the Recharge enemy to move towards Recharge typically moves towards the closest non-recharge enemy detected.
| data |
| void Recharge_Update | ( | EnemyData * | data | ) |
[PostUpdate] Updates the Recharge enemy's state
This function is called each frame to update the Recharge enemy's behavior.
| data | Pointer to the enemy data structure |