19 #ifndef OPENXCOM_ALIENBASE_H
20 #define OPENXCOM_ALIENBASE_H
24 #include <yaml-cpp/yaml.h>
37 bool _inBattlescape, _discovered;
44 void load(
const YAML::Node& node);
46 YAML::Node
save()
const;
bool isDiscovered() const
Gets the alien base's discovered status.
Definition: AlienBase.cpp:149
void load(const YAML::Node &node)
Loads the alien base from YAML.
Definition: AlienBase.cpp:44
bool isInBattlescape() const
Gets the alien base's battlescape status.
Definition: AlienBase.cpp:131
Represents an alien base on the world.
Definition: AlienBase.h:32
YAML::Node save() const
Saves the alien base to YAML.
Definition: AlienBase.cpp:57
int getId() const
Gets the alien base's ID.
Definition: AlienBase.cpp:85
void setAlienRace(const std::string &race)
Sets the alien base's alien race.
Definition: AlienBase.cpp:122
~AlienBase()
Cleans up the alien base.
Definition: AlienBase.cpp:36
void setInBattlescape(bool inbattle)
Sets the alien base's battlescape status.
Definition: AlienBase.cpp:140
Contains strings used throughout the game for localization.
Definition: Language.h:42
void setDiscovered(bool discovered)
Sets the alien base's discovered status.
Definition: AlienBase.cpp:158
AlienBase()
Creates an alien base.
Definition: AlienBase.cpp:29
void setId(int id)
Sets the alien base's ID.
Definition: AlienBase.cpp:94
YAML::Node saveId() const
Saves the alien base's ID to YAML.
Definition: AlienBase.cpp:73
std::string getAlienRace() const
Gets the alien base's amount of active hours..
Definition: AlienBase.cpp:113
Base class for targets on the globe with a set of radian coordinates.
Definition: Target.h:35
std::wstring getName(Language *lang) const
Gets the alien base's name.
Definition: AlienBase.cpp:104