sprite

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sprite

type Sprite struct {
	*ego.Object
	// contains filtered or unexported fields
}

func New

func New() *Sprite

func (*Sprite) Destroy

func (s *Sprite) Destroy()

func (*Sprite) Draw

func (s *Sprite) Draw()

func (*Sprite) Reset

func (s *Sprite) Reset()

func (*Sprite) SetTexture

func (s *Sprite) SetTexture(name string)

func (*Sprite) SetTextureRegion

func (s *Sprite) SetTextureRegion(x, y, w, h int32)

Jump to

Keyboard shortcuts

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