ball

package
v0.0.0-...-28fb5cd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2017 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ball

type Ball struct {
	Sprite *sprite.Context
	Shape  shapes.Shape
	// contains filtered or unexported fields
}

Ball TODO doc

func New

func New(x, y, speed, angle float32, s *sprite.Context) Ball

New TODO doc

func (*Ball) Bind

func (b *Ball) Bind(program uint32) error

Bind TODO doc

func (Ball) Bounds

func (b Ball) Bounds() shapes.Shape

func (Ball) Draw

func (b Ball) Draw()

Draw TODO doc

func (Ball) Pos

func (b Ball) Pos() mgl32.Vec3

func (*Ball) Update

func (b *Ball) Update(dt float32, group *[]entity.Entity)

Update TODO doc

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL