Operation Null Mind 0.4.1
A 2D roguelike top down shooter game made with SDL2
 
Loading...
Searching...
No Matches
libet_update.c File Reference
#include <enemy_libet.h>
#include <time_system.h>
#include <particle_emitterpresets.h>
#include <player.h>
#include <random.h>
#include <math.h>
#include <chunks.h>
#include <sound.h>

Functions

void Libet_Update (EnemyData *data)
 [Update] Updates the Libet boss enemy's state
 
void Libet_AddLazer (Lazer lazer)
 Adds a lazer to the active lazer pool.
 

Function Documentation

◆ Libet_AddLazer()

void Libet_AddLazer ( Lazer  lazer)

Adds a lazer to the active lazer pool.

Parameters
lazerThe lazer to add

◆ Libet_Update()

void Libet_Update ( EnemyData *  data)

[Update] Updates the Libet boss enemy's state

Updates the Libet boss enemy's state.

This function is called each frame to update the Libet boss enemy's behavior.

Parameters
dataPointer to the enemy data structure