Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
constructor · 1 overload
Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.
Constructs `epok::GameplayControls` for the gameplay control module.
constexpr explicit GameplayControls(Input& source=input):m_input(&source)Constructs `epok::GameplayControls` for the gameplay control module.
| Parameter | Type | Meaning |
|---|---|---|
source | Input & | Not documented; consult the linked header. |
Returns: Nothing (void).
#include "gameplay_control.hpp"
// Assume these named values have been initialized with valid data:
// Input & source
epok::GameplayControls value(source);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/gameplay_control.hpp:163
all_actionsPerforms `all actions` as part of the gameplay control module.Methodaxis_rawPerforms `axis raw` as part of the gameplay control module.Methodbegin_frameBegins frame as part of the gameplay control module.Methodbegin_tickBegins tick as part of the gameplay control module.Methodbind_axisPerforms `bind axis` as part of the gameplay control module.Methodbind_buttonPerforms `bind button` as part of the gameplay control module.Methodbutton_heldTemporary physical-source adapters for the existing controller templates.Methodbutton_pressedPerforms `button pressed` as part of the gameplay control module.MethodcapturePerforms `capture` as part of the gameplay control module.MethodcapturedPerforms `captured` as part of the gameplay control module.Methodcontext_samplePerforms `context sample` as part of the gameplay control module.Methodcontext_take_pressedPerforms `context take pressed` as part of the gameplay control module.Method