Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
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 | |
Результат | void |
public CheckIfShipBuilt ( int &amount ) : |
||
amount | int | |
Результат |
public Colonize ( |
||
whichEmpire | ||
Результат | void |
public GetRacePopulation ( Race whichRace ) : float | ||
whichRace | Race | |
Результат | float |
public Planet ( string name, Random r, StarSystem system ) : System | ||
name | string | |
r | Random | |
system | StarSystem | |
Результат | 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 | |
Результат | System |
public RemoveRace ( Race whichRace ) : void | ||
whichRace | Race | |
Результат | void |
public RemoveRacePopulation ( Race whichRace, float amount ) : void | ||
whichRace | Race | |
amount | float | |
Результат | void |
public SetHomeworld ( Empire owner, Random r ) : void | ||
owner | Empire | |
r | Random | |
Результат | void |
public SetOutputAmount ( OUTPUT_TYPE outputType, int amount, bool forceChange ) : void | ||
outputType | OUTPUT_TYPE | |
amount | int | |
forceChange | bool | |
Результат | void |