picture

package
v0.0.0-...-bf68151 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pictures

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

func (*Pictures) Add

func (p *Pictures) Add(id int, name string, x, y int, scaleX, scaleY, angle, opacity float64, originX, originY float64, blendType data.ShowPictureBlendType, priority data.PicturePriorityType, touchable bool)

func (*Pictures) ChangeImage

func (p *Pictures) ChangeImage(id int, imageName string)

func (*Pictures) DecodeMsgpack

func (p *Pictures) DecodeMsgpack(dec *msgpack.Decoder) error

func (*Pictures) Draw

func (p *Pictures) Draw(screen *ebiten.Image, offsetX, offsetY int, priority data.PicturePriorityType)

func (*Pictures) EncodeMsgpack

func (p *Pictures) EncodeMsgpack(enc *msgpack.Encoder) error

func (*Pictures) Fade

func (p *Pictures) Fade(id int, opacity float64, count int)

func (*Pictures) MoveTo

func (p *Pictures) MoveTo(id int, x, y int, count int)

func (*Pictures) Remove

func (p *Pictures) Remove(id int)

func (*Pictures) Rotate

func (p *Pictures) Rotate(id int, angle float64, count int)

func (*Pictures) Scale

func (p *Pictures) Scale(id int, scaleX, scaleY float64, count int)

func (*Pictures) Tint

func (p *Pictures) Tint(id int, red, green, blue, gray float64, count int)

func (*Pictures) TouchingPictureID

func (p *Pictures) TouchingPictureID(x, y int) int

func (*Pictures) Update

func (p *Pictures) Update()

Jump to

Keyboard shortcuts

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