1 #ifndef RADIX_PLAYER_SYSTEM_HPP
2 #define RADIX_PLAYER_SYSTEM_HPP
5 #include <unordered_set>
19 "/audio/sfx/character/fem_panting_1.ogg",
20 "/audio/sfx/character/fem_panting_2.ogg"
24 "/audio/sfx/character/fem_jump_1.ogg",
25 "/audio/sfx/character/fem_jump_2.ogg"
29 "/audio/sfx/character/fem_fall_1.ogg",
30 "/audio/sfx/character/fem_fall_2.ogg"
34 "/audio/sfx/character/fem_foot_1.ogg",
35 "/audio/sfx/character/fem_foot_2.ogg",
36 "/audio/sfx/character/fem_foot_3.ogg",
37 "/audio/sfx/character/fem_foot_4.ogg",
38 "/audio/sfx/character/fem_foot_5.ogg",
39 "/audio/sfx/character/fem_foot_6.ogg"
54 return "PlayerSystem";
58 return System::getTypeId<std::remove_reference<decltype(*this)>::type>();
Definition: GameController.hpp:7
TypeId getTypeId() const
Definition: PlayerSystem.hpp:57
Definition: System.hpp:21
ECS entity, Component container It is created like this:
Definition: Entity.hpp:23
static const float RUNNING_SPEED
Definition: PlayerSystem.hpp:14
~PlayerSystem()
Definition: PlayerSystem.cpp:14
bool runsBefore(const System &)
Definition: PlayerSystem.cpp:72
static const float JUMP_SPEED
Definition: PlayerSystem.hpp:15
void mouseLook(Entity &entity)
Definition: PlayerSystem.cpp:17
Definition: PlayerSystem.hpp:42
Definition: TimeDelta.hpp:8
static const std::array< const std::string, 2 > PLAYER_FALL_SOUND
Definition: PlayerSystem.hpp:28
void runTasks(Entity &entity, TDelta dtime)
Definition: PlayerSystem.cpp:40
static const float HURT_VELOCITY
Definition: PlayerSystem.hpp:16
BaseGame * game
Definition: PlayerSystem.hpp:48
static const std::array< const std::string, 2 > PLAYER_JUMP_SOUND
Definition: PlayerSystem.hpp:23
Definition: PlayerTask.hpp:13
bool allowedToRun(std::unordered_set< PlayerTask * > &blackList, PlayerTask *task)
Definition: PlayerSystem.cpp:59
static const std::array< const std::string, 2 > PLAYER_PANTING_SOUND
Definition: PlayerSystem.hpp:18
PlayerSystem(World &, BaseGame *)
Definition: PlayerSystem.cpp:10
SystemTypeId TypeId
Definition: System.hpp:26
static const std::array< const std::string, 6 > PLAYER_FOOT_SOUND
Definition: PlayerSystem.hpp:33
void update(TDelta dtime)
Definition: PlayerSystem.cpp:76
Definition: BaseGame.hpp:22
const char * getName() const
Definition: PlayerSystem.hpp:53