17 #ifndef HUMANCONTROLLER_H
18 #define HUMANCONTROLLER_H
25 typedef std::map<OIS::KeyCode,
34 void exec(Tinman::Action action);
Definition: controller.h:10
virtual ~HumanController()
Definition: human.cpp:11
bool network_mode_
Definition: human.h:27
KeyBinding key_bindings_
Definition: human.h:38
void exec(Tinman::Action action)
Definition: human.cpp:35
std::map< OIS::KeyCode, std::pair< Tinman::Action, Tinman::Action > > KeyBinding
Definition: human.h:26
HumanController(EventListener::shared listener, KeyBinding key_bindings, Car::shared car)
Definition: human.cpp:4
std::shared_ptr< Car > shared
Definition: car.h:44
void update(float delta)
Definition: human.cpp:28
void configure()
Definition: human.cpp:15
EventListener::shared input_
Definition: human.h:23
std::shared_ptr< EventListener > shared
Definition: input.h:56