Tinman
1.0
|
#include <human.h>
Public Types | |
typedef std::map< OIS::KeyCode, std::pair< Tinman::Action, Tinman::Action > > | KeyBinding |
Public Types inherited from Controller | |
typedef std::shared_ptr< Controller > | shared |
Public Member Functions | |
HumanController (EventListener::shared listener, KeyBinding key_bindings, Car::shared car) | |
virtual | ~HumanController () |
void | configure () |
void | exec (Tinman::Action action) |
void | update (float delta) |
Public Member Functions inherited from Controller | |
Controller (Car::shared car) | |
virtual | ~Controller () |
void | store (Tinman::CarInfo car_info) |
void | disconnect () |
Public Attributes | |
bool | network_mode_ |
Public Attributes inherited from Controller | |
std::queue< Tinman::CarInfo > | updates_ |
Car::shared | car_ |
ControllerObserver::shared | observer_ |
Private Attributes | |
EventListener::shared | input_ |
KeyBinding | key_bindings_ |
typedef std::map<OIS::KeyCode, std::pair<Tinman::Action, Tinman::Action> > HumanController::KeyBinding |
HumanController::HumanController | ( | EventListener::shared | listener, |
KeyBinding | key_bindings, | ||
Car::shared | car | ||
) |
|
virtual |
|
virtual |
Implements Controller.
|
virtual |
Implements Controller.
|
virtual |
Implements Controller.
|
private |
|
private |
bool HumanController::network_mode_ |