![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
#include <ECS_Components.h>
Collaboration diagram for Controller_data:Public Member Functions | |
| Controller_data ()=default | |
| Controller_data (const Controller_data &)=default | |
| Controller_data & | operator= (const Controller_data &)=default |
Public Attributes | |
| short | controllerID = -1 |
| bool | isConnected = false |
| Vector | leftStick |
| Vector | rightStick |
| float | leftTrigger = 0.f |
| float | rightTrigger = 0.f |
| bool | buttons [MAX_BUTTONS] = {false} |
| bool | isVibrating = false |
| float | vibrateStrength = 0.f |
Static Public Attributes | |
| static constexpr int | MAX_BUTTONS = 16 |
Definition at line 412 of file ECS_Components.h.
|
default |
|
default |
|
default |
| bool Controller_data::buttons[MAX_BUTTONS] = {false} |
Definition at line 426 of file ECS_Components.h.
| short Controller_data::controllerID = -1 |
Definition at line 416 of file ECS_Components.h.
Referenced by VideoGame::AddPlayerEntity(), PrefabFactory::InstantiateController(), InputEventConsumeSystem::Process(), and VideoGame::RegisterLoadedPlayerEntity().
Definition at line 417 of file ECS_Components.h.
Definition at line 429 of file ECS_Components.h.
| Vector Controller_data::leftStick |
Definition at line 420 of file ECS_Components.h.
Definition at line 422 of file ECS_Components.h.
Definition at line 414 of file ECS_Components.h.
Referenced by InputEventConsumeSystem::Process().
| Vector Controller_data::rightStick |
Definition at line 421 of file ECS_Components.h.
Definition at line 423 of file ECS_Components.h.
Definition at line 430 of file ECS_Components.h.