EPOK RUNTIME
epok::Character2D
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 character2d module for pixel-unit character commands and derivable actors over the existing 2D body solver.
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 "character2d.hpp"
epok::Character2D& value = /* obtain a valid instance from your game */;Fields and constants
bodyExposes `body` on `epok::Character2D` for pixel-unit character commands and derivable actors over the existing 2D body solver.FieldcameraExposes `camera` on `epok::Character2D` for pixel-unit character commands and derivable actors over the existing 2D body solver.FieldcolliderExposes `collider` on `epok::Character2D` for pixel-unit character commands and derivable actors over the existing 2D body solver.FieldmotorExposes `motor` on `epok::Character2D` for pixel-unit character commands and derivable actors over the existing 2D body solver.Fieldstatic_class_idExposes `static_class_id` on `epok::Character2D` for pixel-unit character commands and derivable actors over the existing 2D body solver.VariablevisualExposes `visual` on `epok::Character2D` for pixel-unit character commands and derivable actors over the existing 2D body solver.FieldPublic methods
class_idPerforms `class id` as part of pixel-unit character commands and derivable actors over the existing 2D body solver.MethodmotionPerforms `motion` as part of pixel-unit character commands and derivable actors over the existing 2D body solver.Methodmotor_idPerforms `motor id` as part of pixel-unit character commands and derivable actors over the existing 2D body solver.Methodstop_movementStops movement as part of pixel-unit character commands and derivable actors over the existing 2D body solver.Methodsubmit_commandPerforms `submit command` as part of pixel-unit character commands and derivable actors over the existing 2D body solver.Method