Operation Null Mind 0.4.1
A 2D roguelike top down shooter game made with SDL2
 
Loading...
Searching...
No Matches
echo_start.c File Reference

Initializes Echo enemy instances. More...

#include <enemy_echo.h>
#include <animation.h>
#include <circle.h>
#include <particle_emitterpresets.h>
#include <random.h>

Functions

void Echo_Start (EnemyData *data)
 [Start] Initializes an Echo enemy instance
 

Variables

ParticleEmitter * EchoBulletEmitter
 
ParticleEmitter * EchoMuzzleFlashEmitter
 
ParticleEmitter * EchoCasingEmitter
 
ParticleEmitter * EchoBulletFragmentsEmitter
 

Detailed Description

Initializes Echo enemy instances.

Handles the creation and setup of Echo enemies, including their resources and initial state.

Author
Mango
Date
2025-03-22

Handles the creation and setup of Echo enemies, including their resources and initial state.

Author
Mango
Date
2025-03-05

Function Documentation

◆ Echo_Start()

void Echo_Start ( EnemyData *  data)

[Start] Initializes an Echo enemy instance

Sets up the Echo enemy's resources including animations, particle effects, and timers.

Parameters
dataPointer to the enemy data structure to initialize

Variable Documentation

◆ EchoBulletEmitter

ParticleEmitter* EchoBulletEmitter

◆ EchoBulletFragmentsEmitter

ParticleEmitter* EchoBulletFragmentsEmitter

◆ EchoCasingEmitter

ParticleEmitter* EchoCasingEmitter

◆ EchoMuzzleFlashEmitter

ParticleEmitter* EchoMuzzleFlashEmitter