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.
Sets visible as part of the world2d components module.
void set_visible(bool value)Sets visible as part of the world2d components module.
| Parameter | Type | Meaning |
|---|---|---|
value | bool | Not documented; consult the linked header. |
Returns: Nothing (void).
#include "world2d_components.hpp"
// Assume these named values have been initialized with valid data:
// bool value
epok::Sprite2DComponent& object = /* obtain a valid instance */;
object.set_visible(value);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/world2d_components.hpp:176
advanceAdvances the playing clip by one simulation step.Methodanimation_countPerforms `animation count` as part of the world2d components module.Methodclass_idPerforms `class id` as part of the world2d components module.Methodcurrent_animationPerforms `current animation` as part of the world2d components module.Methodcurrent_framePerforms `current frame` as part of the world2d components module.Methodis_flipped_hReports whether flipped h as part of the world2d components module.Methodis_playingReports whether playing as part of the world2d components module.Methodis_visibleReports whether visible as part of the world2d components module.Methodlevel_attachedPerforms `level attached` as part of the world2d components module.MethodpausePauses pause as part of the world2d components module.MethodplayStarts play as part of the world2d components module.Methodplay_namedC++ convenience: play a clip by its authored name.Method