|
R-Type
2
Doom but in better
|
Represents the behaviour of an entity, including the type and a timer for timed behaviours. More...
#include <Behaviour.hpp>

Data Fields | |
| behaviour_enum | type |
| float | timer |
Represents the behaviour of an entity, including the type and a timer for timed behaviours.
This structure allows an entity to have a specific behaviour type, such as moving up and down or following another entity, along with a timer that may be used for time-limited actions or behaviours.
Definition at line 20 of file Behaviour.hpp.
| float Behaviour::timer |
A timer that tracks the duration of the behaviour.
Definition at line 22 of file Behaviour.hpp.
| behaviour_enum Behaviour::type |
The type of behaviour the entity exhibits.
Definition at line 21 of file Behaviour.hpp.