17 #ifndef HEADER_SUPERTUX_OBJECT_PNEUMATIC_PLATFORM_HPP 18 #define HEADER_SUPERTUX_OBJECT_PNEUMATIC_PLATFORM_HPP 20 #include "object/moving_sprite.hpp" 34 virtual void update(
float dt_sec)
override;
36 virtual void on_flip(
float height)
override;
61 virtual void update(
float dt_sec)
override;
62 virtual void on_flip(
float height)
override;
64 static std::string class_name() {
return "pneumatic-platform"; }
65 virtual std::string get_class_name()
const override {
return class_name(); }
66 static std::string display_name() {
return _(
"Pneumatic Platform"); }
71 virtual void after_editor_set()
override;
76 std::string m_sprite_name;
80 std::vector<PneumaticPlatformChild*> m_children;
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
virtual void draw(DrawingContext &context) override
The GameObject should draw itself onto the provided DrawingContext if this function is called...
Definition: moving_sprite.cpp:99
virtual GameObjectClasses get_class_types() const
List notable classes in inheritance hierarchy of class.
Definition: game_object.cpp:113
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: 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