This file contains the data for the enemy Echo. More...
Go to the source code of this file.
Classes | |
| struct | KamikazeConfig |
Enumerations | |
| enum | KamikazeState { KAMIKAZE_STATE_WALKING , KAMIKAZE_STATE_CHARGING , KAMIKAZE_STATE_EXPLODING } |
Functions | |
| void | Kamikaze_Start (EnemyData *data) |
| [Start] Initializes an Echo enemy instance | |
| void | Kamikaze_Update (EnemyData *data) |
| [PostUpdate] Updates the Echo enemy's state | |
| void | Kamikaze_Render (EnemyData *data) |
| [Render] Renders the Echo enemy | |
Variables | |
| ParticleEmitter * | KamikazeExplosionEmitter |
| KamikazeConfig | KamikazeConfigData |
| EnemyData | KamikazeData |
| [Data] Echo enemy default data | |
This file contains the data for the enemy Echo.
| enum KamikazeState |
| void Kamikaze_Render | ( | EnemyData * | data | ) |
[Render] Renders the Echo enemy
Renders the kamikaze explosion indicator
| data | Pointer to the enemy data structure |
| void Kamikaze_Start | ( | EnemyData * | data | ) |
[Start] Initializes an Echo enemy instance
Sets up the Echo enemy's resources including animations, particle effects, and timers.
| data | Pointer to the enemy data structure to initialize |
| void Kamikaze_Update | ( | EnemyData * | data | ) |
[PostUpdate] Updates the Echo enemy's state
This function is called each frame to update the Echo enemy's behavior, including its teleportation movement pattern and attack logic.
| data | Pointer to the enemy data structure |
|
extern |
|
extern |
[Data] Echo enemy default data
This structure defines the default properties, stats and settings for the Echo enemy type.
|
extern |