blob: d8bd5cd0ee08145e5485c38d01b6a8fbd10e152f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
package model
type Waypoint struct {
Chart *Chart `json:"chart"`
Factions []string `json:"factions"`
IsUnderConstruction bool `json:"isUnderConstruction"`
Modifiers []Common `json:"modifiers"`
//orbitals: Array<{symbol: string;}>;
//orbits: string;
Symbol string `json:"symbol"`
SystemSymbol string `json:"systemSymbol"`
Traits []Common `json:"traits"`
Type string `json:"type"`
X int `json:"x"`
Y int `json:"y"`
}
func (w Waypoint) GetX() int {
return w.X
}
func (w Waypoint) GetY() int {
return w.Y
}
|