Ejemplo n.º 1
0
 public AIPlayer(Faction playerFaction, int number)
 {
     faction = playerFaction;
     playerNumber = number;
     Name = "AI";
     
 }
Ejemplo n.º 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;
        }
Ejemplo n.º 3
0
 public Player(Faction playerFaction, int PlayerNumber)
 {
     faction = playerFaction;
     playerNumber = PlayerNumber;
     OwnedPlanets = new List<Planet>();
     OwnedSystems = new List<PlanetsSystem>();
     Name = "Player";
 }
Ejemplo n.º 4
0
 public Player()
 {
     faction = new One();
     OwnedPlanets = new List<Planet>();
     OwnedSystems = new List<PlanetsSystem>();
     playerNumber = 1;
     Name = "Player";
 }
Ejemplo n.º 5
0
 public Player()
 {
     faction = new One();
     OwnedPlanets = new List<Planet>();
     OwnedSystems = new List<PlanetsSystem>();
     playerNumber = 1;
     Name = "Player";
     resources = new ResourceManager();
 }