18 #ifndef HEADER_SUPERTUX_WORLDMAP_TELEPORTER_HPP 19 #define HEADER_SUPERTUX_WORLDMAP_TELEPORTER_HPP 21 #include "worldmap/worldmap_object.hpp" 32 static std::string class_name() {
return "teleporter"; }
33 virtual std::string get_class_name()
const override {
return class_name(); }
34 static std::string display_name() {
return _(
"Teleporter"); }
40 const std::string& get_worldmap()
const {
return m_worldmap; }
41 const std::string& get_sector()
const {
return m_sector; }
42 const std::string& get_spawnpoint()
const {
return m_spawnpoint; }
43 bool is_automatic()
const {
return m_automatic; }
44 const std::string& get_message()
const {
return m_message; }
48 std::string m_worldmap;
54 std::string m_spawnpoint;
60 std::string m_message;
virtual std::string get_display_name() const override
Returns the display name of the object, translated to the user's locale.
Definition: teleporter.hpp:35
virtual GameObjectClasses get_class_types() const override
List notable classes in inheritance hierarchy of class.
Definition: teleporter.hpp:36
Definition: worldmap_object.hpp:30
Definition: object_settings.hpp:39
Definition: object_settings.hpp:32
Definition: teleporter.hpp:27
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
virtual GameObjectClasses get_class_types() const override
List notable classes in inheritance hierarchy of class.
Definition: worldmap_object.hpp:39
Definition: reader_mapping.hpp:32