summaryrefslogtreecommitdiff
path: root/battles/src/scenarios.cpp
blob: 3b35f4444f80c107062d977bef199895544e2cca (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#include <kurator/battles/scenarios.h>

#include <kurator/battles/Scenario.h>
#include <kurator/universe/ShipType.h>


namespace kurator
{
namespace battles
{
namespace scenarios
{


Scenario
example()
{
	const universe::ShipType halo {"halo", 6.0};
	const universe::ShipType cube {"cube", 12.0};
	const universe::ShipType bell {"bell", 30.0};
	const universe::TurretType cannon {"cannon", 1.0, 1.0, 0.5};
	return {
		"example",
		{
			{0, halo, {cannon}},
			{0, halo, {cannon}},
			{0, cube, {cannon, cannon}},
			{0, cube, {cannon, cannon}},
			{0, cube, {cannon, cannon}},
			{0, bell, {cannon}},
			{0, bell, {cannon}},
			{0, bell, {cannon}},
			{1, halo, {cannon}},
			{1, halo, {cannon}},
			{1, bell, {cannon}},
			{1, cube, {cannon, cannon}},
			{1, cube, {cannon, cannon}},
			{1, cube, {cannon, cannon}},
			{1, bell, {cannon}},
			{1, bell, {cannon}},
		},
	};
}


}  // namespace scenarios
}  // namespace battles
}  // namespace kurator