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

Equipment slot state — drives the bottom-center grapple/grenade/tactical row. More...

#include <HudTypes.hpp>

Public Attributes

float grappleCharge = 1.f
 0..1, 1 = ready.
float grenadeCharge = 1.f
 0..1, 1 = ready (used when count not shown).
float tacticalCharge = 1.f
 0..1, 1 = ready.
int grenadeCount = 2
 Count for slot showing a number; 0 = unavailable.
int tacticalCount = 1
 Count for slot showing a number; 0 = unavailable.

Detailed Description

Equipment slot state — drives the bottom-center grapple/grenade/tactical row.

Member Data Documentation

◆ grappleCharge

float HudEquipmentState::grappleCharge = 1.f

0..1, 1 = ready.

◆ grenadeCharge

float HudEquipmentState::grenadeCharge = 1.f

0..1, 1 = ready (used when count not shown).

◆ grenadeCount

int HudEquipmentState::grenadeCount = 2

Count for slot showing a number; 0 = unavailable.

◆ tacticalCharge

float HudEquipmentState::tacticalCharge = 1.f

0..1, 1 = ready.

◆ tacticalCount

int HudEquipmentState::tacticalCount = 1

Count for slot showing a number; 0 = unavailable.


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