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

Enemy statistics structure. More...

#include <enemy.h>

Public Attributes

int damage
 Base damage enemy can inflict.
 
int maxHealth
 Maximum health points.
 
float maxSpeed
 Maximum movement speed.
 
float acceleration
 Movement acceleration rate.
 
float drag
 Movement deceleration/friction.
 
int attackSpeed
 Speed of attack execution.
 
int attackRange
 Maximum attack range.
 
int attackDamage
 Damage inflicted by attacks.
 
int attackCooldown
 Time between attacks.
 

Detailed Description

Enemy statistics structure.

Contains the configuration values that define an enemy's capabilities

Member Data Documentation

◆ acceleration

float EnemyStats::acceleration

Movement acceleration rate.

◆ attackCooldown

int EnemyStats::attackCooldown

Time between attacks.

◆ attackDamage

int EnemyStats::attackDamage

Damage inflicted by attacks.

◆ attackRange

int EnemyStats::attackRange

Maximum attack range.

◆ attackSpeed

int EnemyStats::attackSpeed

Speed of attack execution.

◆ damage

int EnemyStats::damage

Base damage enemy can inflict.

◆ drag

float EnemyStats::drag

Movement deceleration/friction.

◆ maxHealth

int EnemyStats::maxHealth

Maximum health points.

◆ maxSpeed

float EnemyStats::maxSpeed

Maximum movement speed.


The documentation for this struct was generated from the following file: