Documentation ¶
Index ¶
- type Carrier
- func (l *Carrier) Center() (float64, float64)
- func (l *Carrier) Collider() game.Rect
- func (r *Carrier) CopyFrom(other *Carrier)
- func (c *Carrier) Draw(screen *ebiten.Image, geom ebiten.GeoM)
- func (l *Carrier) Edit()
- func (l *Carrier) Select()
- func (r *Carrier) ToJson() string
- func (l *Carrier) Toggle()
- func (l *Carrier) UnSelect()
- func (c *Carrier) Update()
- type Star
- func (l *Star) Center() (float64, float64)
- func (l *Star) Collider() game.Rect
- func (r *Star) CopyFrom(other *Star)
- func (l *Star) Draw(screen *ebiten.Image, geom ebiten.GeoM)
- func (l *Star) Edit()
- func (l *Star) Select()
- func (r *Star) ToJson() string
- func (l *Star) Toggle()
- func (l *Star) UnSelect()
- func (s *Star) Update()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Carrier ¶
type Carrier struct { game.Serial Position game.Vector Rotation float64 `json:"rotation"` Speed float64 `json:"speed"` Score int32 `json:"score"` Name string // contains filtered or unexported fields }
func NewCarrier ¶
func NewCarrier(channel *network.MessageQueue, position game.Vector) *Carrier
Click to show internal directories.
Click to hide internal directories.