ScummVM API documentation
Pegasus::Input Class Reference

Public Member Functions

bool upButtonDown () const
 
bool upButtonAutoDown () const
 
bool upButtonAnyDown () const
 
bool leftButtonDown () const
 
bool leftButtonAutoDown () const
 
bool leftButtonAnyDown () const
 
bool downButtonDown () const
 
bool downButtonAutoDown () const
 
bool downButtonAnyDown () const
 
bool rightButtonDown () const
 
bool rightButtonAutoDown () const
 
bool rightButtonAnyDown () const
 
bool leftFireButtonDown () const
 
bool leftFireButtonAutoDown () const
 
bool leftFireButtonAnyDown () const
 
bool rightFireButtonDown () const
 
bool rightFireButtonAutoDown () const
 
bool rightFireButtonAnyDown () const
 
bool oneButtonDown () const
 
bool oneButtonAutoDown () const
 
bool oneButtonAnyDown () const
 
bool twoButtonDown () const
 
bool twoButtonAutoDown () const
 
bool twoButtonAnyDown () const
 
bool threeButtonDown () const
 
bool threeButtonAutoDown () const
 
bool threeButtonAnyDown () const
 
bool fourButtonDown () const
 
bool fourButtonAutoDown () const
 
bool fourButtonAnyDown () const
 
bool mod1ButtonDown () const
 
bool mod1ButtonAutoDown () const
 
bool mod1ButtonAnyDown () const
 
bool mod2ButtonDown () const
 
bool mod2ButtonAutoDown () const
 
bool mod2ButtonAnyDown () const
 
bool mod3ButtonDown () const
 
bool mod3ButtonAutoDown () const
 
bool mod3ButtonAnyDown () const
 
bool allAutoInput () const
 
bool anyDirectionInput () const
 
bool anyButtonInput () const
 
bool anyInput () const
 
void getInputLocation (Common::Point &where) const
 
bool anyInputBitSet (const InputBits bits) const
 
bool isAltDown () const
 
void clearInput ()
 

Protected Member Functions

void setInputBits (const InputBits state)
 
void setInputLocation (const Common::Point &where)
 
void setAltDown (bool altDown)
 

Protected Attributes

InputBits _inputState
 
Common::Point _inputLocation
 
bool _altDown
 

Friends

int operator== (const Input &, const Input &)
 
int operator!= (const Input &, const Input &)
 

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