-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsystem.hh
More file actions
37 lines (22 loc) · 859 Bytes
/
system.hh
File metadata and controls
37 lines (22 loc) · 859 Bytes
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
// Time-stamp: <2016-02-29 17:13:35 dmendyke>
#ifndef __SYSTEM_HH__
#define __SYSTEM_HH__
// Project NS
//-----------------------------------------------------------------------------
namespace parsec {
// Define a star system
//---------------------------------------------------------------------------
class system_t {
public:
system_t(); // constructor
virtual ~system_t(); // destructor
protected:
std::string name_;
std::pair< int, int > location_;
int tech_level_; // what is the tech level of this system [08 - 16]
int production_level_; // how many ships a turn can be produced
fleet_t fleet_; // information about the fleet located here
std::queue incoming_; // list of fleets arriving and their times in turns
}; // end class system_t
}; // end project NS
#endif // __SYSTEM_HH__