Beispiel #1
0
 /// <summary>
 /// Creates an AI controlled player
 /// </summary>
 /// <param name="ship"></param>
 /// <param name="humanControlled"></param>
 public Player(Ship ship, List <Character> crew, bool humanControlled = false)
 {
     PlayerData = new PlayerData();
     Crew       = crew;
     this.Ship  = ship;
     ship.Setup(this);
     IsHuman             = humanControlled;
     this.crewSimulation = null;
 }
Beispiel #2
0
 /// <summary>
 /// Creates a human controlled player
 /// </summary>
 /// <param name="ship"></param>
 /// <param name="humanControlled"></param>
 /// <param name="crewSimulation"></param>
 public Player(Ship ship, bool humanControlled, CrewSimulation crewSimulation)
 {
     PlayerData = new PlayerData();
     Crew       = new List <Character>();
     this.Ship  = ship;
     ship.Setup(this);
     IsHuman             = humanControlled;
     this.crewSimulation = crewSimulation;
 }