Method | Description | |
---|---|---|
AddRacePopulation ( |
||
CheckIfShipBuilt ( int &amount ) : |
||
Colonize ( |
||
GetRacePopulation ( Race whichRace ) : float | ||
Planet ( string name, Random r, StarSystem system ) : System | ||
Planet ( string name, string type, int maxPop, Empire owner, StarSystem system, Random r ) : System | ||
RemoveRace ( Race whichRace ) : void | ||
RemoveRacePopulation ( Race whichRace, float amount ) : void | ||
SetCleanup ( ) : void | ||
SetHomeworld ( Empire owner, Random r ) : void | ||
SetOutputAmount ( OUTPUT_TYPE outputType, int amount, bool forceChange ) : void | ||
UpdateOutputs ( ) : void | ||
UpdatePlanet ( ) : void |
Method | Description | |
---|---|---|
CalculateRaceGrowth ( |
||
CalculateTotalPopGrowth ( ) : float | ||
GetPointsExcludingSelectedTypeAndLockedTypes ( OUTPUT_TYPE type ) : int | ||
SetValues ( string name, string type, int maxPop, StarSystem system, Empire empire, Random r ) : void |
public AddRacePopulation ( |
||
whichRace | ||
amount | float | |
return | void |
public CheckIfShipBuilt ( int &amount ) : |
||
amount | int | |
return |
public Colonize ( |
||
whichEmpire | ||
return | void |
public GetRacePopulation ( Race whichRace ) : float | ||
whichRace | Race | |
return | float |
public Planet ( string name, Random r, StarSystem system ) : System | ||
name | string | |
r | Random | |
system | StarSystem | |
return | System |
public Planet ( string name, string type, int maxPop, Empire owner, StarSystem system, Random r ) : System | ||
name | string | |
type | string | |
maxPop | int | |
owner | Empire | |
system | StarSystem | |
r | Random | |
return | System |
public RemoveRacePopulation ( Race whichRace, float amount ) : void | ||
whichRace | Race | |
amount | float | |
return | void |
public SetHomeworld ( Empire owner, Random r ) : void | ||
owner | Empire | |
r | Random | |
return | void |
public SetOutputAmount ( OUTPUT_TYPE outputType, int amount, bool forceChange ) : void | ||
outputType | OUTPUT_TYPE | |
amount | int | |
forceChange | bool | |
return | void |