#include <codecontroller.hpp>
Inherits Controller.
Public Member Functions | |
CodeController () | |
virtual | ~CodeController () |
void | press (Control c, bool pressed=true) |
void | update () |
Definition at line 26 of file codecontroller.hpp.
CodeController::CodeController | ( | ) |
CodeController::~CodeController | ( | ) | [virtual] |
void CodeController::press | ( | Control | c, | |
bool | pressed = true | |||
) |
Definition at line 26 of file codecontroller.cpp.
References Controller::controls.
Referenced by GameSession::process_events(), EndSequenceWalkRight::running(), EndSequenceWalkLeft::running(), and EndSequenceFireworks::running().
void CodeController::update | ( | ) | [virtual] |
Reimplemented from Controller.
Definition at line 32 of file codecontroller.cpp.
References Controller::CONTROLCOUNT, Controller::controls, and Controller::update().
Referenced by GameSession::process_events(), and EndSequence::running().
00033 { 00034 Controller::update(); 00035 00036 for(int i = 0; i < CONTROLCOUNT; ++i) 00037 controls[i] = false; 00038 }