17 #ifndef HEADER_SUPERTUX_OBJECT_BICYCLE_PLATFORM_HPP 18 #define HEADER_SUPERTUX_OBJECT_BICYCLE_PLATFORM_HPP 20 #include "object/path_walker.hpp" 21 #include "object/moving_sprite.hpp" 32 virtual void update(
float dt_sec)
override;
42 std::set<GameObject*> m_contacts;
61 virtual void update(
float dt_sec)
override;
63 virtual std::string get_class()
const override {
return "bicycle-platform"; }
64 virtual std::string get_display_name()
const override {
return _(
"Bicycle platform"); }
68 virtual void after_editor_set()
override;
75 float m_angular_speed;
77 float m_momentum_change_rate;
79 std::vector<BicyclePlatformChild*> m_children;
80 std::unique_ptr<PathWalker> m_walker;
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