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;
Represents a region of the world.
Definition: Region.h:36
void newMonth()
start new month of activity
Definition: Region.cpp:113
const std::vector< int > & getActivityAlien() const
get xcom activity to this region
Definition: Region.cpp:105
void addActivityAlien(int activity)
add alien activity in this region
Definition: Region.cpp:87
const std::vector< int > & getActivityXcom() const
get xcom activity to this region
Definition: Region.cpp:96
void addActivityXcom(int activity)
add xcom activity in this region
Definition: Region.cpp:78
RuleRegion * getRules() const
Gets the region's ruleset.
Definition: Region.cpp:69
~Region()
Cleans up the region.
Definition: Region.cpp:38
YAML::Node save() const
Saves the region to YAML.
Definition: Region.cpp:56
Region(RuleRegion *rules)
Creates a new region of the specified type.
Definition: Region.cpp:29
void load(const YAML::Node &node)
Loads the region from YAML.
Definition: Region.cpp:46
Represents a specific region of the world.
Definition: RuleRegion.h:66
COPYING:
Definition: BaseInfoState.cpp:41