Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Orbit ¶
type Orbit struct { Id string // unique identifier for the orbit Location coordinates.Coordinates Kind OrbitKind // kind of orbit Habitability int // range 0..25 ControlledBy string // id of nation controlling this orbit Colonies struct { Open []string // id of open surface colonies Closed []string // id of closed surface colonies Orbital []string // id of orbital colonies } Deposits []Deposit // deposits of resources }
type OrbitKind ¶
type OrbitKind int
func (OrbitKind) MarshalJSON ¶
MarshalJSON implements the Marshaler interface.
func (*OrbitKind) UnmarshalJSON ¶
UnmarshalJSON implements the Unmarshaler interface.
Click to show internal directories.
Click to hide internal directories.