ghost

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: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ghost

type Ghost struct {
	Sprite       *sprite.Context
	Shape        *shapes.Shape
	Light        *light.Positional
	AmbientColor mgl32.Vec4
	// contains filtered or unexported fields
}

Player TODO doc

func New

func New() *Ghost

New TODO doc

func (*Ghost) Bind

func (c *Ghost) Bind(program uint32) error

Bind TODO doc

func (Ghost) Bounds

func (g Ghost) Bounds() *shapes.Shape

func (*Ghost) Draw

func (c *Ghost) Draw()

Draw TODO doc

func (Ghost) Pos

func (g Ghost) Pos() *mgl32.Vec3

func (*Ghost) Update

func (c *Ghost) Update(dt float32, g []entity.Collider)

Update TODO doc

Jump to

Keyboard shortcuts

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