R-Type  2
Doom but in better
Loading...
Searching...
No Matches
Lifetime Struct Reference

Represents the remaining lifetime of an entity or object. More...

#include <Lifetime.hpp>

Collaboration diagram for Lifetime:
Collaboration graph

Data Fields

float time_left
 

Detailed Description

Represents the remaining lifetime of an entity or object.

This structure is used to track the remaining time before an entity or object expires or disappears. It can be used for things like timed power-ups, projectiles, or effects that last for a limited time.

Definition at line 10 of file Lifetime.hpp.

Field Documentation

◆ time_left

float Lifetime::time_left

The remaining time before the entity or object expires, in seconds.

Definition at line 11 of file Lifetime.hpp.


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