Epok Engine

EPOK RUNTIME

epok::CharacterCommandSource2DComponent::sample

Method · 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.

Method

Performs `sample` as part of extensible command producers and point/target movement policies for shared character motors.

Belongs to
epok::CharacterCommandSource2DComponent
Header
character_commands.hpp
Overloads
1

Declaration

const
Declaration
CharacterCommandResult2D sample()const

Performs `sample` as part of extensible command producers and point/target movement policies for shared character motors.

This overload takes no parameters.

Returns: CharacterCommandResult2D. Consult the linked header for its meaning.

Example sketch

C++ example
#include "character_commands.hpp"

epok::CharacterCommandSource2DComponent& object = /* obtain a valid instance */;

auto result = object.sample();

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/character_commands.hpp:129

Related members