EPOK RUNTIME
epok::DoorComponent
Class
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.
Class
Class declared by the world-gameplay module for the world gameplay module.
Basic usage
This generated sketch illustrates syntax for reaching the type; adapt it to the actual API contract. Open a member below for an operation-specific example.
C++ example
#include "world_gameplay.hpp"
epok::DoorComponent& value = /* obtain a valid instance from your game */;Fields and constants
collider_2dExposes `collider_2d` on `epok::DoorComponent` for the world gameplay module.Fieldcollider_3dExposes `collider_3d` on `epok::DoorComponent` for the world gameplay module.Fieldinitial_stateExposes `initial_state` on `epok::DoorComponent` for the world gameplay module.Fieldrequirement_flagExposes `requirement_flag` on `epok::DoorComponent` for the world gameplay module.Fieldstatic_class_idExposes `static_class_id` on `epok::DoorComponent` for the world gameplay module.Variabletick_groupExposes `tick_group` on `epok::DoorComponent` for the world gameplay module.VariablePublic methods
begin_playBegins play as part of the world gameplay module.Methodcan_openPerforms `can open` as part of the world gameplay module.Methodclass_idPerforms `class id` as part of the world gameplay module.MethodclosePerforms `close` as part of the world gameplay module.Methoddoor_changedPerforms `door changed` as part of the world gameplay module.Methoddoor_requestedPerforms `door requested` as part of the world gameplay module.Methodend_playEnds play as part of the world gameplay module.Methodhas_pending_transitionReports whether pending transition as part of the world gameplay module.Methodinteraction_startedPerforms `interaction started` as part of the world gameplay module.Methodlast_resultPerforms `last result` as part of the world gameplay module.MethodlockPerforms `lock` as part of the world gameplay module.Methodon_disablePerforms `on disable` as part of the world gameplay module.MethodopenPerforms `open` as part of the world gameplay module.Methodrequirement_metPerforms `requirement met` as part of the world gameplay module.Methodreset_doorResets door as part of the world gameplay module.MethodstatePerforms `state` as part of the world gameplay module.MethodtickPerforms `tick` as part of the world gameplay module.MethodunlockPerforms `unlock` as part of the world gameplay module.Method