19 #ifndef OPENXCOM_WAYPOINT_H 20 #define OPENXCOM_WAYPOINT_H 24 #include <yaml-cpp/yaml.h> 42 void load(
const YAML::Node& node);
44 YAML::Node
save()
const;
Waypoint()
Creates a waypoint.
Definition: Waypoint.cpp:29
YAML::Node saveId() const
Saves the waypoint's ID to YAML.
Definition: Waypoint.cpp:65
int getId() const
Gets the waypoint's ID.
Definition: Waypoint.cpp:77
YAML::Node save() const
Saves the waypoint to YAML.
Definition: Waypoint.cpp:54
void setId(int id)
Sets the waypoint's ID.
Definition: Waypoint.cpp:86
void load(const YAML::Node &node)
Loads the waypoint from YAML.
Definition: Waypoint.cpp:44
Contains strings used throughout the game for localization.
Definition: Language.h:42
~Waypoint()
Cleans up the waypoint.
Definition: Waypoint.cpp:36
std::wstring getName(Language *lang) const
Gets the waypoint's name.
Definition: Waypoint.cpp:96
Base class for targets on the globe with a set of radian coordinates.
Definition: Target.h:35
Represents a fixed waypoint on the world.
Definition: Waypoint.h:32
COPYING:
Definition: BaseInfoState.cpp:40