1 #ifndef BLANK_UI_DIRECTINPUT_HPP_
2 #define BLANK_UI_DIRECTINPUT_HPP_
4 #include "PlayerController.hpp"
6 #include "../app/IntervalTimer.hpp"
13 struct WorldManipulator;
16 : public PlayerController {
19 DirectInput(World &, Player &, WorldManipulator &);
21 void Update(Entity &, float dt) override;
23 void StartPrimaryAction() override;
24 void StopPrimaryAction() override;
25 void StartSecondaryAction() override;
26 void StopSecondaryAction() override;
27 void StartTertiaryAction() override;
28 void StopTertiaryAction() override;
36 WorldManipulator &manip;
38 FineTimer place_timer;
39 FineTimer remove_timer;