C# Class spaceconquest.Galaxy

Inheritance: Space
Mostrar archivo Open project: cclay/spaceconquest Class Usage Examples

Public Properties

Property Type Description
gName String
positions List
systems List

Protected Properties

Property Type Description
lines List

Public Methods

Method Description
Draw ( Vector3 offset, float xr, float yr, float zr, float height ) : void
Galaxy ( String g, int size ) : System
Galaxy ( String g, int size, System.Int64 seed ) : System
GetHex ( Tuple c ) : Hex3D
GetHex ( int s, int x, int y ) : Hex3D
GetMouseOverSystem ( ) : SolarSystem3D
Update ( ) : void

Method Details

Draw() public method

public Draw ( Vector3 offset, float xr, float yr, float zr, float height ) : void
offset Vector3
xr float
yr float
zr float
height float
return void

Galaxy() public method

public Galaxy ( String g, int size ) : System
g String
size int
return System

Galaxy() public method

public Galaxy ( String g, int size, System.Int64 seed ) : System
g String
size int
seed System.Int64
return System

GetHex() public method

public GetHex ( Tuple c ) : Hex3D
c Tuple
return Hex3D

GetHex() public method

public GetHex ( int s, int x, int y ) : Hex3D
s int
x int
y int
return Hex3D

GetMouseOverSystem() public method

public GetMouseOverSystem ( ) : SolarSystem3D
return SolarSystem3D

Update() public method

public Update ( ) : void
return void

Property Details

gName public_oe property

public String gName
return String

lines protected_oe property

protected List lines
return List

positions public_oe property

public List positions
return List

systems public_oe property

public List systems
return List