17 #ifndef HEADER_SUPERTUX_OBJECT_PNEUMATIC_PLATFORM_HPP 18 #define HEADER_SUPERTUX_OBJECT_PNEUMATIC_PLATFORM_HPP 20 #include "object/moving_sprite.hpp" 33 virtual void update(
float dt_sec)
override;
59 virtual void update(
float dt_sec)
override;
61 virtual std::string get_class()
const override {
return "pneumatic-platform"; }
62 virtual std::string get_display_name()
const override {
return _(
"Pneumatic platform"); }
65 virtual void after_editor_set()
override;
70 std::string m_sprite_name;
74 std::vector<PneumaticPlatformChild*> m_children;
Simple two dimensional vector.
Definition: vector.hpp:24
Definition: object_settings.hpp:35
Base class for all the things that make up Levels' Sectors.
Definition: game_object.hpp:46
virtual void draw(DrawingContext &context) override
The GameObject should draw itself onto the provided DrawingContext if this function is called...
Definition: moving_sprite.cpp:101
Definition: reader_mapping.hpp:31
Abstract base class for MovingObjects that are represented by a Sprite.
Definition: moving_sprite.hpp:29
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