blob: de57971dd55b9b44918cf0e75b95dc9cf3e03495 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#include <kurator/campaign/scenarios.h>
#include <kurator/campaign/Scenario.h>
#include <kurator/campaign/ShipConfig.h>
namespace kurator
{
namespace campaign
{
namespace scenarios
{
Scenario
example()
{
int id = 0;
Scenario scenario {"Example", 12000, {}};
for (int team = 0; team < 2; ++team) {
for (int i = 0; i < 2; ++i)
scenario.ships.push_back(ShipConfig{{id++}, team, "Anvil", {"ChargeLaser", "ChargeLaser"}});
for (int i = 0; i < 3; ++i)
scenario.ships.push_back(ShipConfig{{id++}, team, "Warbringer", {"ChargeLaser"}});
for (int i = 0; i < 5; ++i)
scenario.ships.push_back(ShipConfig{{id++}, team, "Eclipse", {"ChargeLaser"}});
}
return scenario;
}
} // namespace scenarios
} // namespace campaign
} // namespace kurator
|