18 #ifndef HEADER_SUPERTUX_WORLDMAP_SPAWN_POINT_HPP 19 #define HEADER_SUPERTUX_WORLDMAP_SPAWN_POINT_HPP 21 #include "worldmap/worldmap_object.hpp" 25 #include "math/vector.hpp" 26 #include "worldmap/direction.hpp" 35 const std::string& get_name()
const {
return m_name; }
36 Vector get_pos()
const {
return m_pos; }
37 Direction get_auto_dir()
const {
return m_auto_dir; }
56 static std::string class_name() {
return "worldmap-spawnpoint"; }
57 virtual std::string get_class_name()
const override {
return class_name(); }
58 static std::string display_name() {
return _(
"Spawn point"); }
Definition: spawn_point.hpp:30
virtual std::string get_display_name() const override
Returns the display name of the object, translated to the user's locale.
Definition: spawn_point.hpp:59
Definition: worldmap_object.hpp:30
Definition: object_settings.hpp:39
Definition: object_settings.hpp:32
virtual GameObjectClasses get_class_types() const override
List notable classes in inheritance hierarchy of class.
Definition: spawn_point.hpp:60
Definition: spawn_point.hpp:50
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