Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
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.
Starts play as part of the epok module.
bool play(int index,bool loop=true)Starts play as part of the epok module.
| Parameter | Type | Meaning |
|---|---|---|
index | int | Not documented; consult the linked header. |
loop | bool | Not documented; consult the linked header. |
Returns: bool. Consult the linked header for its meaning.
#include "epok.hpp"
// Assume these named values have been initialized with valid data:
// int index
// bool loop
epok::Animator& object = /* obtain a valid instance */;
auto result = object.play(index, loop);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/epok.hpp:275