19 #ifndef OPENXCOM_TERRORSITE_H
20 #define OPENXCOM_TERRORSITE_H
24 #include <yaml-cpp/yaml.h>
36 size_t _secondsRemaining;
45 void load(
const YAML::Node& node);
47 YAML::Node
save()
const;
std::string getAlienRace() const
Gets the terror site's alien race.
Definition: TerrorSite.cpp:131
void setId(int id)
Sets the terror site's ID.
Definition: TerrorSite.cpp:94
void setSecondsRemaining(size_t seconds)
Sets the seconds until this terror site expires.
Definition: TerrorSite.cpp:122
Represents an alien terror site on the world.
Definition: TerrorSite.h:32
void load(const YAML::Node &node)
Loads the terror site from YAML.
Definition: TerrorSite.cpp:44
YAML::Node save() const
Saves the terror site to YAML.
Definition: TerrorSite.cpp:57
Contains strings used throughout the game for localization.
Definition: Language.h:42
void setAlienRace(const std::string &race)
Sets the terror site's alien race.
Definition: TerrorSite.cpp:140
void setInBattlescape(bool inbattle)
Sets the TerrorSite's battlescape status.
Definition: TerrorSite.cpp:158
bool isInBattlescape() const
Gets if the TerrorSite is in battlescape.
Definition: TerrorSite.cpp:149
int getId() const
Gets the terror site's ID.
Definition: TerrorSite.cpp:85
YAML::Node saveId() const
Saves the terror site's ID to YAML.
Definition: TerrorSite.cpp:73
TerrorSite()
Creates a terror site.
Definition: TerrorSite.cpp:29
Base class for targets on the globe with a set of radian coordinates.
Definition: Target.h:35
~TerrorSite()
Cleans up the terror site.
Definition: TerrorSite.cpp:36
std::wstring getName(Language *lang) const
Gets the terror site's name.
Definition: TerrorSite.cpp:104
size_t getSecondsRemaining() const
Gets the seconds until this terror site expires.
Definition: TerrorSite.cpp:113