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

Implements update logic for Proxy enemy type. More...

#include <enemy_proxy.h>
#include <player.h>
#include <time_system.h>
#include <random.h>
#include <circle.h>
#include <math.h>

Functions

void Proxy_UpdateGun (EnemyData *data)
 
void Proxy_Update (EnemyData *data)
 [PostUpdate] Updates the Proxy enemy's state
 
void Proxy_UpdateParticles ()
 
void Proxy_RenderParticles ()
 

Detailed Description

Implements update logic for Proxy enemy type.

Contains the AI behavior and state updates for the Proxy enemy.

Author
Mango
Date
2025-03-20

Function Documentation

◆ Proxy_RenderParticles()

void Proxy_RenderParticles ( )

◆ Proxy_Update()

void Proxy_Update ( EnemyData *  data)

[PostUpdate] Updates the Proxy enemy's state

This function is called each frame to update the Proxy enemy's behavior. The Proxy enemy deploys at a position and can act as a decoy or amplifier for other enemies.

Parameters
dataPointer to the enemy data structure

◆ Proxy_UpdateGun()

void Proxy_UpdateGun ( EnemyData *  data)

◆ Proxy_UpdateParticles()

void Proxy_UpdateParticles ( )