public Commander(System.Int32 i, Faction f) {JustEntered = false; frame = World.frame; Research = f.Research; Production = f.Production; Name = ("Player ") + (i.ToString()); Faction = f; Defense = f.Defense; CommanderNumber = i; Attack = f.Attack; Allies = ( Enumerable.Empty<Commander>()).ToList<Commander>(); }
public GameConstants() {JustEntered = false; frame = World.frame; Neutral = new Faction(new FactionType(0),6f,6f,6f,6f); MineralPlanet = new PlanetStatModifier(1f,10f,1f,1f,5f,1f,3f,20f,1f,1f,18f,1f); EarthPlanet = new PlanetStatModifier(1f,10f,1f,1f,10f,1f,1f,10f,1f,1f,10f,1f); Defensive = new Faction(new FactionType(2),4f,8f,5f,7f); Asteroid = new PlanetStatModifier(1f,10f,1f,1f,18f,1f,2f,5f,1f,1f,5f,1f); Aggressive = new Faction(new FactionType(1),9f,3f,7f,5f); }