forked from bewl/EliteDangerousTradingAssistant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
StarSystem.cs
40 lines (35 loc) · 899 Bytes
/
StarSystem.cs
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
using System.Collections.Generic;
namespace EliteDangerousTradingAssistant
{
public class StarSystem
{
private string name;
private List<Station> stations;
public bool isAnarchy;
public string Name
{
get { return name; }
set { name = value; }
}
public List<Station> Stations
{
get { return stations; }
}
public bool IsAnarchy
{
get { return isAnarchy; }
set { isAnarchy = value; }
}
public StarSystem()
{
stations = new List<Station>();
}
public StarSystem(StarSystem copy)
{
stations = new List<Station>();
name = copy.Name;
foreach (Station station in copy.Stations)
stations.Add(new Station(station));
}
}
}