#include <event_handler.h>
Public Member Functions | |
WalkTrigger () | |
void | reset () |
void | setDelta (Direction dir, int distance) |
KeybindingAction | getAction () |
Encapsulates the logic for deciding how frequently to walk when holding down the right moues button in enhanced mode
|
inline |
Constructor
void Ultima::Ultima4::WalkTrigger::reset | ( | ) |
Resets the walker
void Ultima::Ultima4::WalkTrigger::setDelta | ( | Direction | dir, |
int | distance | ||
) |
Sets the delta from the center of the map
KeybindingAction Ultima::Ultima4::WalkTrigger::getAction | ( | ) |
Checks for whether to walk, and if so, returns the direction