MovingObject
Generated from engine/core/moving_object.h at 862e08b. The text under each declaration is the header's own comment, word for word. About the reference says how these pages are made.
#include "engine/core/moving_object.h" · namespace labrador
class MovingObject
Section titled “class MovingObject”A velocity and a rotation, for a derived class to read and write.
Plain accessors, none of them virtual: a virtual accessor on the object the simulation touches most is a cost with no client (T8). A displacement written and read inside a single call chain is not a member: it is a return value and a local.
~MovingObject · MovingObject
Section titled “~MovingObject · MovingObject”MovingObject() = default;MovingObject
Section titled “MovingObject” float rotation = 0.0f);velocity · velocity_x · velocity_y (protected)
Section titled “velocity · velocity_x · velocity_y (protected)”float velocity_x() const;float velocity_y() const;set_velocity · set_velocity_x · set_velocity_y (protected)
Section titled “set_velocity · set_velocity_x · set_velocity_y (protected)”void set_velocity_x(float x);void set_velocity_y(float y);alter_velocity_x · alter_velocity_y (protected)
Section titled “alter_velocity_x · alter_velocity_y (protected)”void alter_velocity_x(float x);void alter_velocity_y(float y);rotation · set_rotation (protected)
Section titled “rotation · set_rotation (protected)”float rotation() const;void set_rotation(float rotation);Related types
Section titled “Related types”Named in the public declarations above: Vector2F.
In the samples and tests
Section titled “In the samples and tests”No sample or test includes this header directly.
Development documentation (unreleased). Built from Labrador 862e08b of 2026-10-08.