MochiEngine
Loading...
Searching...
No Matches
Mochi::Input::PerformableActionGamepad Struct Reference

IPerformableAction implementation to check if actions requiring a gamepad button are being performed. More...

#include <PerformableActions.h>

Inheritance diagram for Mochi::Input::PerformableActionGamepad:
Mochi::Input::IPerformableAction

Public Member Functions

 PerformableActionGamepad (const nlohmann::json &json)
virtual bool IsPerformed (InputManager *input) const
virtual float GetValue (InputManager *input) const

Detailed Description

IPerformableAction implementation to check if actions requiring a gamepad button are being performed.

Member Function Documentation

◆ GetValue()

float Mochi::Input::PerformableActionGamepad::GetValue ( InputManager * input) const
virtual

◆ IsPerformed()

bool Mochi::Input::PerformableActionGamepad::IsPerformed ( InputManager * input) const
virtual

The documentation for this struct was generated from the following files: