10 #include "microscenarioprovider.h" 47 std::vector<tc::BW::Race> allowedRaces = {tc::BW::Race::Protoss,
50 bool randomSize =
true,
51 std::map<tc::BW::Race, int> maxSupplyMap = {{tc::BW::Race::Protoss, 60},
52 {tc::BW::Race::Terran, 55},
53 {tc::BW::Race::Zerg, 50}},
54 bool checkCompatibility =
true);
57 std::vector<tc::BW::Race> allowedRaces,
59 std::map<tc::BW::Race, int> maxSupplyMap,
60 bool checkCompatibility);
std::vector< tc::BW::Race > allowedRaces_
Definition: microscenarioproviderrandom.h:64
bool randomSize_
Definition: microscenarioproviderrandom.h:65
bool checkCompatibility_
Definition: microscenarioproviderrandom.h:67
void setParams(std::vector< tc::BW::Race > allowedRaces, bool randomSize, std::map< tc::BW::Race, int > maxSupplyMap, bool checkCompatibility)
Definition: microscenarioproviderrandom.cpp:265
FixedScenario getFixedScenario() override
Definition: microscenarioproviderrandom.cpp:276
std::map< tc::BW::Race, int > maxSupplyMap_
Definition: microscenarioproviderrandom.h:66
Definition: microscenarioprovider.h:18
Generates Random armies.
Definition: microscenarioproviderrandom.h:44
Definition: scenariospecification.h:57
MicroScenarioProviderRandom(std::vector< tc::BW::Race > allowedRaces={tc::BW::Race::Protoss, tc::BW::Race::Terran, tc::BW::Race::Zerg}, bool randomSize=true, std::map< tc::BW::Race, int > maxSupplyMap={{tc::BW::Race::Protoss, 60},{tc::BW::Race::Terran, 55},{tc::BW::Race::Zerg, 50}}, bool checkCompatibility=true)
Definition: microscenarioproviderrandom.cpp:254
Main namespace for bot-related code.
Definition: areainfo.cpp:17