Beispiel #1
0
 public AIPlayer(Faction playerFaction, int number)
 {
     faction = playerFaction;
     playerNumber = number;
     Name = "AI";
     
 }
Beispiel #2
0
         //all details like map size num of systems in here? not sure - check code in mainmenu

        public NewGameDetails(Vector2 MapSize, int NumberSystems, int NumberAI, List<Faction> aiFactions, Faction playerFaction)
        {
            this.MapSizeVector = MapSize;
            NumSystems = NumberSystems;
            NumAI = NumberAI;
            this.aiFactions = aiFactions;
            this.playerFaction = playerFaction;
        }
Beispiel #3
0
 public Player(Faction playerFaction, int PlayerNumber)
 {
     faction = playerFaction;
     playerNumber = PlayerNumber;
     OwnedPlanets = new List<Planet>();
     OwnedSystems = new List<PlanetsSystem>();
     Name = "Player";
 }
Beispiel #4
0
 public Player()
 {
     faction = new One();
     OwnedPlanets = new List<Planet>();
     OwnedSystems = new List<PlanetsSystem>();
     playerNumber = 1;
     Name = "Player";
 }
Beispiel #5
0
 public Player()
 {
     faction = new One();
     OwnedPlanets = new List<Planet>();
     OwnedSystems = new List<PlanetsSystem>();
     playerNumber = 1;
     Name = "Player";
     resources = new ResourceManager();
 }