22 #include <yaml-cpp/yaml.h> 40 void load(
const YAML::Node& node);
42 YAML::Node
save()
const;
Waypoint()
Creates a waypoint.
Definition: Waypoint.cpp:28
YAML::Node saveId() const
Saves the waypoint's ID to YAML.
Definition: Waypoint.cpp:64
int getId() const
Gets the waypoint's ID.
Definition: Waypoint.cpp:76
YAML::Node save() const
Saves the waypoint to YAML.
Definition: Waypoint.cpp:53
void setId(int id)
Sets the waypoint's ID.
Definition: Waypoint.cpp:85
int getMarker() const
Gets the waypoint's marker.
Definition: Waypoint.cpp:104
void load(const YAML::Node &node)
Loads the waypoint from YAML.
Definition: Waypoint.cpp:43
Contains strings used throughout the game for localization.
Definition: Language.h:39
~Waypoint()
Cleans up the waypoint.
Definition: Waypoint.cpp:35
Base class for targets on the globe with a set of radian coordinates.
Definition: Target.h:33
Represents a fixed waypoint on the world.
Definition: Waypoint.h:30
Definition: BaseInfoState.cpp:40
std::wstring getDefaultName(Language *lang) const
Gets the waypoint's default name.
Definition: Waypoint.cpp:95