#include <CeresEngine/Input/Action.hpp>
◆ ButtonOnceInputAction() [1/2]
Creates a new button action.
- Parameters
-
| buttons | The buttons that must be pressed to activate the action |
| modifiers | The modifiers that must be pressed with the keys to activate the action |
◆ ButtonOnceInputAction() [2/2]
Creates a new button action.
- Parameters
-
| button | The button that must be pressed to activate the action |
| modifiers | The modifiers that must be pressed with the key to activate the action |
◆ update()
Updates the action with the given input state.
- Parameters
-
| state | The input state to update the action with |
Implements CeresEngine::InputAction.
◆ buttons
| ButtonSet CeresEngine::ButtonOnceInputAction::buttons |
|
private |
The buttons that must be pressed to activate the action.
◆ modifiers
The modifiers that must be pressed with the keys to activate the action.
◆ pressed
| bool CeresEngine::ButtonOnceInputAction::pressed = false |
|
private |
A flag that indicates if the button was pressed on the last update.
The documentation for this class was generated from the following file:
- /Users/Rogiel/Developer/CeresEngine/Engine/Sources/CeresEngine/Input/Action.hpp