|
Bubba-3D
0.9.0
Awesome game engine!
|
#include <MouseButton.h>
Public Member Functions | |
| MouseButton (sf::Mouse::Button button) | |
| MouseButton (sf::Mouse::Button buttonPos, sf::Mouse::Button buttonNeg) | |
| ControlStatus | getStatus () |
| ControlStatus::Activator | getActivator () |
Public Member Functions inherited from Input | |
| bool | isDual () |
Additional Inherited Members | |
Protected Member Functions inherited from Input | |
| Input (bool dual) | |
Protected Attributes inherited from Input | |
| bool | dual |
An input class activated by mouse clicks. Mouse buttons supported are left-, scroll-, right-click and two extra buttons.
Definition at line 32 of file MouseButton.h.
| MouseButton::MouseButton | ( | sf::Mouse::Button | button | ) |
Creates a non-dual button activated when button is pressed.
Definition at line 25 of file MouseButton.cpp.
| MouseButton::MouseButton | ( | sf::Mouse::Button | buttonPos, |
| sf::Mouse::Button | buttonNeg | ||
| ) |
Creates a dual button activated when either button is pressed. When buttonNeg is pressed the ControlStatus value is -100, when buttonPos is pressed the value is 100. If both or none are pressed the value is 0.
Definition at line 29 of file MouseButton.cpp.
1.8.11