Versions in this module Expand all Collapse all v0 v0.1.2 Oct 10, 2021 v0.1.1 Oct 10, 2021 Changes in this version + const Finished + const Paused + const Playing + type Animation struct + func Anime(frames AnimeFrames) *Animation + func NewAnimation(frames AnimeFrames) *Animation + func (a *Animation) Angle() float64 + func (a *Animation) Clone() *Animation + func (a *Animation) Draw(screen *ebiten.Image) + func (a *Animation) FlipH() bool + func (a *Animation) FlipV() bool + func (a *Animation) Height() float64 + func (a *Animation) Index() int + func (a *Animation) IsFinished() bool + func (a *Animation) IsPlaying() bool + func (a *Animation) Length() int + func (a *Animation) Pause() + func (a *Animation) PlayFromStart() + func (a *Animation) Position() (float64, float64) + func (a *Animation) Random() + func (a *Animation) Resume() + func (a *Animation) ScaleX() float64 + func (a *Animation) ScaleY() float64 + func (a *Animation) SetAngle(angle float64) + func (a *Animation) SetDuration(dur time.Duration) + func (a *Animation) SetFlipH(flipH bool) + func (a *Animation) SetFlipV(flipV bool) + func (a *Animation) SetFrames(frames AnimeFrames) + func (a *Animation) SetIndex(index int) + func (a *Animation) SetLooping(looping bool) + func (a *Animation) SetOrigin(x, y float64) + func (a *Animation) SetPosition(x, y float64) + func (a *Animation) SetScale(scaleX, scaleY float64) + func (a *Animation) SetX(x float64) + func (a *Animation) SetY(y float64) + func (a *Animation) Size() (float64, float64) + func (a *Animation) Update(elapsedTime time.Duration) + func (a *Animation) Width() float64 + func (a *Animation) X() float64 + func (a *Animation) Y() float64 + type AnimeFrames []*Frame + type Frame struct + func (f *Frame) Size() (int, int) + type Image struct + Image *ebiten.Image + type Origin struct + X float64 + Y float64 + type Packer struct + func (packer *Packer) Add(id TextureId, rawImage *[]byte, rect image.Rectangle, w, h int) + func (packer *Packer) Pack(w, h int) + func (packer *Packer) PackedImage() *ebiten.Image + func (packer *Packer) Texture(id TextureId) *Texture + type Rectangle struct + H int + W int + X int + Y int + func Rect(w, h int) Rectangle + type SimplePacker struct + func (packer SimplePacker) Pack(R []*Rectangle, maxWidth, maxHeight int) + type Status int + type SubImage struct + Image *ebiten.Image + Rect image.Rectangle + func SubImg(i *ebiten.Image, x0, y0, x1, y1 int) *SubImage + type Texture struct + func NewTexture(img *ebiten.Image, rect image.Rectangle, w, h int) *Texture + func (tex *Texture) Frames(args ...frameArg) []*Frame + func (tex *Texture) Image() *ebiten.Image + type TextureId interface