17 #ifndef HEADER_SUPERTUX_WORLDMAP_WORLD_SELECT_HPP 18 #define HEADER_SUPERTUX_WORLDMAP_WORLD_SELECT_HPP 22 #include "supertux/screen.hpp" 23 #include "util/currenton.hpp" 24 #include "video/surface_ptr.hpp" 34 static const float s_torque;
42 std::string filename =
"";
43 std::string name =
"";
44 bool unlocked =
false;
45 SurfacePtr icon =
nullptr;
49 WorldSelect(
const std::string& current_world_filename);
52 virtual void setup()
override;
53 virtual void leave()
override;
61 std::vector<WMdata> m_worlds;
Definition: controller.hpp:57
Abstract base class for code the MainLoop runs exclusively and full-screen.
Definition: screen.hpp:31
virtual void draw(Compositor &compositor) override
gets called once per frame.
Definition: world_select.cpp:163
virtual void update(float dt_sec, const Controller &controller) override
gets called for once (per logical) frame.
Definition: world_select.cpp:210
Definition: object_settings.hpp:32
A 'Currenton' allows access to the currently active instance of a class via the static current() func...
Definition: currenton.hpp:30
virtual IntegrationStatus get_status() const override
Gives details about what the user is doing right now.
Definition: world_select.cpp:256
virtual void leave() override
gets called when the current screen is temporarily suspended
Definition: world_select.cpp:157
Definition: compositor.hpp:29
Definition: integration.hpp:26
virtual void setup() override
gets called before this screen gets activated (which is at least once before the first draw or update...
Definition: world_select.cpp:148
Definition: world_select.hpp:30