-
Notifications
You must be signed in to change notification settings - Fork 0
game::entity
Paweł Waligóra edited this page May 22, 2024
·
1 revision
Base class for anything that has hp and can "die".
Obvious usages are:
but you can (and should) use this also for things such as:
- exploding barrels
- breakable environment elements
- traps
, because game::projectiles, and hit_scan based game::weapons usually look for this type of scripts.
#include "entity.h"
Just derive from game::entity
.
#include "entity.h"
namespace game {
class my_entity : public game::entity {
// ...
};
}
- engine
- scripts_system
- scene_loader
- time_system
-
input_system
- input_system::key_held
- input_system::key_events
- input_system::subscribe() (deprecated)
- input_system::axis_state()
- input_system::key_bind
- input_system::axis
- input_system::double_axis
- input_system::triple_axis
- input_system::axis2
- input_system::double_axis2
- input_system::triple_axis2
- input_system::axis-choice
- renderer
- physics
- ui_system
- game