19 #ifndef OPENXCOM_REGION_H
20 #define OPENXCOM_REGION_H
23 #include <yaml-cpp/yaml.h>
39 std::vector<int> _activityXcom, _activityAlien;
46 void load(
const YAML::Node& node);
48 YAML::Node
save()
const;
const std::vector< int > & getActivityXcom() const
get xcom activity to this region
Definition: Region.cpp:96
void newMonth()
start new month of activity
Definition: Region.cpp:113
void addActivityAlien(int activity)
add alien activity in this region
Definition: Region.cpp:87
void addActivityXcom(int activity)
add xcom activity in this region
Definition: Region.cpp:78
void load(const YAML::Node &node)
Loads the region from YAML.
Definition: Region.cpp:46
Region(RuleRegion *rules)
Creates a new region of the specified type.
Definition: Region.cpp:29
Represents a region of the world.
Definition: Region.h:35
const std::vector< int > & getActivityAlien() const
get xcom activity to this region
Definition: Region.cpp:105
YAML::Node save() const
Saves the region to YAML.
Definition: Region.cpp:56
Represents a specific region of the world.
Definition: RuleRegion.h:65
~Region()
Cleans up the region.
Definition: Region.cpp:38
RuleRegion * getRules() const
Gets the region's ruleset.
Definition: Region.cpp:69