Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GravObject ¶
type GravObject interface {
GravChilds() []SystemObject
}
type SysBody ¶
type SysBody struct { Type SysBodyType // contains filtered or unexported fields }
func (*SysBody) GravChilds ¶
func (so *SysBody) GravChilds() []SystemObject
type SysPair ¶
type SysPair struct {
A, B SystemObject
// contains filtered or unexported fields
}
func (*SysPair) GravChilds ¶
func (so *SysPair) GravChilds() []SystemObject
type SysRing ¶
type SysRing struct { Type SysRingType // contains filtered or unexported fields }
func (*SysRing) GravParent ¶
func (so *SysRing) GravParent() SystemObject
type SysSattType ¶
type SysSattType int
const ( UnknownSatt SysSattType = iota Station Outpost Installation )
type SysSattelite ¶
type SysSattelite struct { Type SysSattType // contains filtered or unexported fields }
func (*SysSattelite) GravParent ¶
func (so *SysSattelite) GravParent() SystemObject
func (*SysSattelite) Visit ¶
func (so *SysSattelite) Visit(_ bool, fn func(so SystemObject) (done bool)) bool
type System ¶
type System struct { SysDesc Center SystemObject }
type SystemObject ¶
type SystemObject interface { GravParent() SystemObject Name() string SetName(n string) Visit(parent1st bool, fn func(so SystemObject) (done bool)) bool }
Click to show internal directories.
Click to hide internal directories.