C# 클래스 Beyond_Beyaan.Planet

파일 보기 프로젝트 열기: Beyonders/Beyond-Beyaan 1 사용 예제들

공개 메소드들

메소드 설명
AddRacePopulation ( Race whichRace, float amount ) : void
CheckIfShipBuilt ( int &amount ) : Ship
Colonize ( Empire whichEmpire ) : void
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 ( Race race ) : float
CalculateTotalPopGrowth ( ) : float
GetPointsExcludingSelectedTypeAndLockedTypes ( OUTPUT_TYPE type ) : int
SetValues ( string name, string type, int maxPop, StarSystem system, Empire empire, Random r ) : void

메소드 상세

AddRacePopulation() 공개 메소드

public AddRacePopulation ( Race whichRace, float amount ) : void
whichRace Beyond_Beyaan.Data_Modules.Race
amount float
리턴 void

CheckIfShipBuilt() 공개 메소드

public CheckIfShipBuilt ( int &amount ) : Ship
amount int
리턴 Ship

Colonize() 공개 메소드

public Colonize ( Empire whichEmpire ) : void
whichEmpire Empire
리턴 void

GetRacePopulation() 공개 메소드

public GetRacePopulation ( Race whichRace ) : float
whichRace Race
리턴 float

Planet() 공개 메소드

public Planet ( string name, Random r, StarSystem system ) : System
name string
r Random
system StarSystem
리턴 System

Planet() 공개 메소드

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

RemoveRace() 공개 메소드

public RemoveRace ( Race whichRace ) : void
whichRace Race
리턴 void

RemoveRacePopulation() 공개 메소드

public RemoveRacePopulation ( Race whichRace, float amount ) : void
whichRace Race
amount float
리턴 void

SetCleanup() 공개 메소드

public SetCleanup ( ) : void
리턴 void

SetHomeworld() 공개 메소드

public SetHomeworld ( Empire owner, Random r ) : void
owner Empire
r Random
리턴 void

SetOutputAmount() 공개 메소드

public SetOutputAmount ( OUTPUT_TYPE outputType, int amount, bool forceChange ) : void
outputType OUTPUT_TYPE
amount int
forceChange bool
리턴 void

UpdateOutputs() 공개 메소드

public UpdateOutputs ( ) : void
리턴 void

UpdatePlanet() 공개 메소드

public UpdatePlanet ( ) : void
리턴 void