Property | Type | Description | |
---|---|---|---|
OnGenerateComplete | System.Action |
Method | Description | |
---|---|---|
GenerateGalaxy ( GALAXYTYPE galaxyType, int minPlanets, int maxPlanets, |
Set up the galaxy
|
|
GenerateTravelNode ( |
||
GenerateTravelNode ( float xPos, float yPos, |
||
GetAllStars ( ) : List |
||
GetPath ( float currentX, float currentY, |
Pathfinding function
|
|
GetStarAtPoint ( Point point ) : |
||
GetStarWithID ( int id ) : |
||
GetStarsInArea ( float left, float top, float width, float height ) : List |
Get all stars in the area for drawing purposes
|
|
Load ( System.Xml.Linq.XElement root, |
||
Reconcilate ( |
||
Save ( |
||
SetHomeworld ( |
||
Update ( float frameDeltaTime, |
Method | Description | |
---|---|---|
FillGalaxyWithStars ( int numberOfStars, int minPlanets, int maxPlanets, bool grid, |
||
GenerateGalaxyCompleted ( object sender, |
||
GenerateGalaxyThread ( object sender, |
||
GenerateRandom ( GALAXYTYPE type ) : bool[][] | ||
IsDestinationValid ( |
public GenerateGalaxy ( GALAXYTYPE galaxyType, int minPlanets, int maxPlanets, |
||
galaxyType | GALAXYTYPE | |
minPlanets | int | |
maxPlanets | int | |
r | ||
reason | string | |
return | bool |
public GenerateTravelNode ( |
||
origin | ||
destination | ||
return |
public GenerateTravelNode ( float xPos, float yPos, |
||
xPos | float | |
yPos | float | |
destination | ||
return |
public GetPath ( float currentX, float currentY, |
||
currentX | float | Fleet's Galaxy X |
currentY | float | Fleet's Galaxy Y |
currentDestination | Fleet's current destination for when empire don't have hyperspace communications | |
newDestination | New destination | |
hasExtended | bool | |
whichEmpire | For fuel range and other info | |
return | List |
public GetStarAtPoint ( Point point ) : |
||
point | Point | |
return |
public GetStarsInArea ( float left, float top, float width, float height ) : List |
||
left | float | |
top | float | |
width | float | |
height | float | |
return | List |
public Load ( System.Xml.Linq.XElement root, |
||
root | System.Xml.Linq.XElement | |
gameMain | ||
return | bool |
public Reconcilate ( |
||
empireManager | ||
return | void |
public Save ( |
||
writer | ||
return | void |
public SetHomeworld ( |
||
empire | ||
homePlanet | ||
return |
public Update ( float frameDeltaTime, |
||
frameDeltaTime | float | |
r | ||
return | void |