Aurore
A Switch-like interface for your app, on every screen
Loading...
Searching...
No Matches
aurore::GamepadAction Class Referencefinal

#include <aurore/core/actions.hpp>

Inheritance diagram for aurore::GamepadAction:
aurore::Action

Public Member Functions

 GamepadAction (const ControllerButton button, const ActionIdentifier identifier, const std::string &hintText, const bool available, const bool hidden, const bool allowRepeating, const Sound sound, const ActionListener &actionListener)
 
- Public Member Functions inherited from aurore::Action
 Action (const int button, const ActionIdentifier identifier, const std::string &hintText, const bool available, const bool hidden, const bool allowRepeating, const Sound sound, const ActionListener &actionListener)
 
virtual ~Action ()=default
 
virtual bool operator== (const ControllerButton other) const
 
virtual bool operator== (const AuroreKeyCode other) const
 
ActionIdentifier getIdentifier () const
 
ActionType getType () const
 
int getButton () const
 
std::string getHintText () const
 
void setHintText (const std::string &hintText)
 
bool isAvailable () const
 
void setAvailable (const bool isAvailable)
 
bool isHidden () const
 
void setHidden (const bool hidden)
 
bool isAllowRepeating () const
 
Sound getSound () const
 
ActionListener getActionListener () const
 

Additional Inherited Members

- Protected Attributes inherited from aurore::Action
ActionType type {}
 
int button {}
 
ActionIdentifier identifier {}
 
std::string hintText {}
 
bool available {}
 
bool hidden {}
 
bool allowRepeating {}
 
Sound sound {}
 
ActionListener actionListener {}
 

Constructor & Destructor Documentation

◆ GamepadAction()

aurore::GamepadAction::GamepadAction ( const ControllerButton  button,
const ActionIdentifier  identifier,
const std::string &  hintText,
const bool  available,
const bool  hidden,
const bool  allowRepeating,
const Sound  sound,
const ActionListener &  actionListener 
)
inline

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