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

Contains the player's stats and attributes. More...

#include <player.h>

Public Attributes

int maxHealth
 
int maxAmmo
 
float INVINCIBLE_Time
 Time the player is [Title card] before taking damage again.
 
float walkSpeed
 Normal walking speed.
 
float dashSpeed
 Speed during dash.
 
float dashDuration
 How long dash lasts.
 
float dashCooldown
 Time between dashes.
 
int enemiesKilled
 Number of enemies killed.
 
SkillStat skillStat
 Player skills and abilities

 

Detailed Description

Contains the player's stats and attributes.

Member Data Documentation

◆ dashCooldown

float PlayerStat::dashCooldown

Time between dashes.

◆ dashDuration

float PlayerStat::dashDuration

How long dash lasts.

◆ dashSpeed

float PlayerStat::dashSpeed

Speed during dash.

◆ enemiesKilled

int PlayerStat::enemiesKilled

Number of enemies killed.

◆ INVINCIBLE_Time

float PlayerStat::INVINCIBLE_Time

Time the player is [Title card] before taking damage again.

◆ maxAmmo

int PlayerStat::maxAmmo

◆ maxHealth

int PlayerStat::maxHealth

◆ skillStat

SkillStat PlayerStat::skillStat

Player skills and abilities

◆ walkSpeed

float PlayerStat::walkSpeed

Normal walking speed.


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