16 #ifndef HEADER_SUPERTUX_OBJECT_CIRCLEPLATFORM_HPP 17 #define HEADER_SUPERTUX_OBJECT_CIRCLEPLATFORM_HPP 19 #include "object/moving_sprite.hpp" 20 #include "supertux/timer.hpp" 29 virtual void update(
float dt_sec)
override;
30 virtual void on_flip(
float height)
override;
33 static std::string class_name() {
return "circleplatform"; }
34 virtual std::string get_class_name()
const override {
return class_name(); }
35 static std::string display_name() {
return _(
"Circular Platform"); }
40 virtual void initialize();
43 Vector start_position;
51 SurfacePtr m_radius_indicator;
Definition: object_settings.hpp:39
virtual GameObjectClasses get_class_types() const override
List notable classes in inheritance hierarchy of class.
Definition: moving_sprite.hpp:60
This class is responsible for: Updating and drawing the object.
Definition: game_object.hpp:83
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
Simple timer designed to be used in the update functions of objects.
Definition: timer.hpp:24
Definition: reader_mapping.hpp:32
Abstract base class for ""MovingObject""s, that are represented by a sprite.
Definition: moving_sprite.hpp:33
This class provides functions for drawing things on screen.
Definition: drawing_context.hpp:42
This class collects data about a collision.
Definition: collision_hit.hpp:44