Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Projectile ¶
type Projectile struct {
// contains filtered or unexported fields
}
func (*Projectile) Draw ¶
func (p *Projectile) Draw(t pixel.Target)
func (Projectile) GetBody ¶
func (p Projectile) GetBody() pixel.Rect
func (Projectile) GetFrame ¶
func (p Projectile) GetFrame() pixel.Rect
func (Projectile) GetVel ¶
func (p Projectile) GetVel() pixel.Vec
func (Projectile) Offscreen ¶
func (p Projectile) Offscreen() bool
func (*Projectile) Update ¶
func (p *Projectile) Update(dt float64)
Click to show internal directories.
Click to hide internal directories.