ScummVM API documentation
Ultima::Ultima4::WalkTrigger Class Reference

#include <event_handler.h>

Public Member Functions

 WalkTrigger ()
 
void reset ()
 
void setDelta (Direction dir, int distance)
 
KeybindingAction getAction ()
 

Detailed Description

Encapsulates the logic for deciding how frequently to walk when holding down the right moues button in enhanced mode

Constructor & Destructor Documentation

◆ WalkTrigger()

Ultima::Ultima4::WalkTrigger::WalkTrigger ( )
inline

Constructor

Member Function Documentation

◆ reset()

void Ultima::Ultima4::WalkTrigger::reset ( )

Resets the walker

◆ setDelta()

void Ultima::Ultima4::WalkTrigger::setDelta ( Direction  dir,
int  distance 
)

Sets the delta from the center of the map

◆ getAction()

KeybindingAction Ultima::Ultima4::WalkTrigger::getAction ( )

Checks for whether to walk, and if so, returns the direction


The documentation for this class was generated from the following file: