Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fleet ¶
type Graph ¶
type Graph struct {
// contains filtered or unexported fields
}
func (*Graph) ShortestPath ¶
type Planet ¶
type Planet struct { PosX uint32 PosY uint32 Fleets []*Fleet Control float32 Empire *Empire Connected []*Planet Production float32 }
func (Planet) EmpireFleet ¶
func (*Planet) RemoveFleet ¶
type Space ¶
type Space struct { Fleets []*Fleet Empires []*Empire Planets []*Planet Round int PlanetTree *rtreego.Rtree Graph Graph Width uint32 Height uint32 }
func EmptySpace ¶
func EmptySpace() Space
func (*Space) CreateEmpire ¶
func (*Space) CreatePlanet ¶
func (*Space) DestroyFleet ¶
Click to show internal directories.
Click to hide internal directories.