gopher_anim

package
v0.0.0-...-626738c Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GopherAnim

type GopherAnim struct {
	// contains filtered or unexported fields
}

func New

func New(imgPath string, csvPath string) GopherAnim

Initialize GopherAnim

func (*GopherAnim) Draw

func (ga *GopherAnim) Draw(t pixel.Target, g gopher.Gopher)

func (*GopherAnim) GetSheet

func (ga *GopherAnim) GetSheet() pixel.Picture

func (*GopherAnim) Update

func (ga *GopherAnim) Update(g gopher.Gopher, dt float64)

Jump to

Keyboard shortcuts

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