group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
Health Struct Reference

ECS component: player health, armor, and passive heal cooldown. More...

#include <Health.hpp>

Public Attributes

float health = 100.0f
 Current health points (0 = dead).
float armor = 100.0f
 Current armor points (absorbs damage before health).
float overShield = 0.0f
float healTimer = 0.0f
 Seconds remaining before passive healing begins.

Detailed Description

ECS component: player health, armor, and passive heal cooldown.

Member Data Documentation

◆ armor

float Health::armor = 100.0f

Current armor points (absorbs damage before health).

◆ health

float Health::health = 100.0f

Current health points (0 = dead).

◆ healTimer

float Health::healTimer = 0.0f

Seconds remaining before passive healing begins.

◆ overShield

float Health::overShield = 0.0f

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