-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsimulator.h
64 lines (44 loc) · 1.22 KB
/
simulator.h
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#ifndef SIMULATOR_H_
#define SIMULATOR_H_
#include <string>
#include <vector>
#include "PlanetWars.h"
class Simulator {
public:
// Constructor
Simulator( PlanetWars &pw );
// Return Planet Wars object.
&Planetwars getPw();
// Obtain my total ship count.
int MyShipCount() const;
// Obtain my ship count for ships on a planet.
int MyPlanetShipCount() const;
// Obtain my ship count in fleets.
int MyFleetShipCount() const;
// Total enemy ship count.
int EnemyShipCount() const;
// Total enemy planet ship count.
int EnemyPlanetShipCount() const;
// Total enemy fleet ship count.
int EnemyFleetShipCount() const;
// Total planets.
int MyPlanetCount() const;
// Total Enemy planets.
int EnemyPlanetCount() const;
// Total Neutral planets.
int NeutralPlanetCount() const;
// Value of a Planet
int ValueOfPlanet() const;
// distance
// how many ships does the planet have
// Am I winning or loosing?
// Is it close to an enemy planet?
// Do I have enough ships to invate it.
// Defend a planet.
void DefendPlanet() const;
// Create a pool of planets to send from
void DeployPool() const;
// SIMULATIONS
void State(int turn);
private:
#endif