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;
Contains strings used throughout the game for localization.
Definition: Language.h:44
Base class for targets on the globe with a set of radian coordinates.
Definition: Target.h:36
Represents a fixed waypoint on the world.
Definition: Waypoint.h:33
YAML::Node save() const
Saves the waypoint to YAML.
Definition: Waypoint.cpp:54
void load(const YAML::Node &node)
Loads the waypoint from YAML.
Definition: Waypoint.cpp:44
YAML::Node saveId() const
Saves the waypoint's ID to YAML.
Definition: Waypoint.cpp:65
Waypoint()
Creates a waypoint.
Definition: Waypoint.cpp:29
int getId() const
Gets the waypoint's ID.
Definition: Waypoint.cpp:77
std::wstring getName(Language *lang) const
Gets the waypoint's name.
Definition: Waypoint.cpp:96
void setId(int id)
Sets the waypoint's ID.
Definition: Waypoint.cpp:86
~Waypoint()
Cleans up the waypoint.
Definition: Waypoint.cpp:36
COPYING:
Definition: BaseInfoState.cpp:41