17 #ifndef HEADER_SUPERTUX_EDITOR_BEZIER_MARKER_HPP 18 #define HEADER_SUPERTUX_EDITOR_BEZIER_MARKER_HPP 20 #include "editor/marker_object.hpp" 21 #include "object/path.hpp" 31 virtual void move_to(
const Vector& pos)
override;
32 virtual Vector get_point_vector()
const override;
33 virtual Vector get_offset()
const override;
34 virtual bool hide_if_no_offset()
const override {
return true; }
38 void update_iterator(
Path::Node* it, Vector* bezier_pos);
40 void set_parent(
UID uid) { m_parent = uid; }
44 void check_state()
override;
virtual GameObjectClasses get_class_types() const override
List notable classes in inheritance hierarchy of class.
Definition: marker_object.hpp:31
void save_state() override
Save/check the current state of the object.
Definition: bezier_marker.cpp:70
Definition: marker_object.hpp:26
Definition: bezier_marker.hpp:25
Helper class that stores an individual node of a Path.
Definition: path.hpp:52
virtual GameObjectClasses get_class_types() const override
List notable classes in inheritance hierarchy of class.
Definition: bezier_marker.hpp:29
A helper structure to list all the type_indexes of the classes in the type hierarchy of a given class...
Definition: game_object.hpp:57
Definition: node_marker.hpp:24
virtual bool has_settings() const override
Indicates if get_settings() is implemented.
Definition: bezier_marker.hpp:35
virtual void editor_update() override
Called each frame in the editor, used to keep linked objects together (e.g.
Definition: bezier_marker.cpp:51