R-Type
2
Doom but in better
Loading...
Searching...
No Matches
Behaviour.hpp
Go to the documentation of this file.
1
#pragma once
2
7
enum
behaviour_enum
{
8
DEFAULT
,
9
UP_DOWN
,
10
FOLLOW
11
};
12
20
struct
Behaviour
{
21
behaviour_enum
type
;
22
float
timer
;
23
};
behaviour_enum
behaviour_enum
Defines the different types of behaviours that can be assigned to an entity.
Definition
Behaviour.hpp:7
DEFAULT
@ DEFAULT
Definition
Behaviour.hpp:8
UP_DOWN
@ UP_DOWN
Definition
Behaviour.hpp:9
FOLLOW
@ FOLLOW
Definition
Behaviour.hpp:10
Behaviour
Represents the behaviour of an entity, including the type and a timer for timed behaviours.
Definition
Behaviour.hpp:20
Behaviour::type
behaviour_enum type
Definition
Behaviour.hpp:21
Behaviour::timer
float timer
Definition
Behaviour.hpp:22
game_source
components
Behaviour.hpp
Generated on Thu Feb 6 2025 22:34:20 for R-Type by
1.12.0