Initializes Sentry enemy instances. More...
#include <enemy_sentry.h>#include <animation.h>#include <circle.h>#include <particle_emitterpresets.h>#include <random.h>Functions | |
| void | Sentry_Start (EnemyData *data) |
| [Start] Initializes a Sentry enemy instance | |
Variables | |
| ParticleEmitter * | SentryBulletEmitter |
| ParticleEmitter * | SentryMuzzleFlashEmitter |
| ParticleEmitter * | SentryCasingEmitter |
| ParticleEmitter * | SentryBulletFragmentsEmitter |
Initializes Sentry enemy instances.
Handles the creation and setup of Sentry enemies, including their resources and initial state.
| void Sentry_Start | ( | EnemyData * | data | ) |
[Start] Initializes a Sentry enemy instance
Sets up the Sentry enemy's resources including animations, particle effects, and timers.
| data | Pointer to the enemy data structure to initialize |
| ParticleEmitter* SentryBulletEmitter |
| ParticleEmitter* SentryBulletFragmentsEmitter |
| ParticleEmitter* SentryCasingEmitter |
| ParticleEmitter* SentryMuzzleFlashEmitter |