C# 클래스 Beyond_Beyaan.StarSystem

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

공개 프로퍼티들

프로퍼티 타입 설명
OwnerPercentage float>.Dictionary

공개 메소드들

메소드 설명
AddEmpireExplored ( Empire empire ) : void
IsThisSystemExploredByEmpire ( Empire empire ) : bool
SetHomeworld ( Empire empire, Planet &homePlanet, Random r ) : void
StarSystem ( string name, int id, int x, int y, Color color, string description, Random r ) : System
StarSystem ( string name, int id, int x, int y, Color color, string description, int minPlanets, int maxPlanets, Random r ) : System
SystemHavePlanetOwnedByEmpire ( Empire empire ) : bool
UpdateOwners ( ) : void

비공개 메소드들

메소드 설명
UpdateDominantEmpire ( ) : void

메소드 상세

AddEmpireExplored() 공개 메소드

public AddEmpireExplored ( Empire empire ) : void
empire Empire
리턴 void

IsThisSystemExploredByEmpire() 공개 메소드

public IsThisSystemExploredByEmpire ( Empire empire ) : bool
empire Empire
리턴 bool

SetHomeworld() 공개 메소드

public SetHomeworld ( Empire empire, Planet &homePlanet, Random r ) : void
empire Empire
homePlanet Planet
r System.Random
리턴 void

StarSystem() 공개 메소드

public StarSystem ( string name, int id, int x, int y, Color color, string description, Random r ) : System
name string
id int
x int
y int
color Color
description string
r System.Random
리턴 System

StarSystem() 공개 메소드

public StarSystem ( string name, int id, int x, int y, Color color, string description, int minPlanets, int maxPlanets, Random r ) : System
name string
id int
x int
y int
color Color
description string
minPlanets int
maxPlanets int
r System.Random
리턴 System

SystemHavePlanetOwnedByEmpire() 공개 메소드

public SystemHavePlanetOwnedByEmpire ( Empire empire ) : bool
empire Empire
리턴 bool

UpdateOwners() 공개 메소드

public UpdateOwners ( ) : void
리턴 void

프로퍼티 상세

OwnerPercentage 공개적으로 프로퍼티

public Dictionary OwnerPercentage
리턴 float>.Dictionary