Versions in this module Expand all Collapse all v0 v0.1.0 Apr 29, 2021 Changes in this version + type Editor struct + func NewEditor(x, y int) *Editor + func (e *Editor) Bounds() image.Rectangle + func (e *Editor) Draw(screen *ebiten.Image) + func (e *Editor) PreferredSize() (sx, sy int) + func (e *Editor) SetPosition(x, y int) + func (e *Editor) SetSize(sx, sy int) + func (e *Editor) SetVisible(visible bool) + func (e *Editor) Update() error + type Preview struct + func NewPreview(x, y int) *Preview + func (p *Preview) Bounds() image.Rectangle + func (p *Preview) Draw(screen *ebiten.Image) + func (p *Preview) PreferredSize() (sx, sy int) + func (p *Preview) SetPosition(x, y int) + func (p *Preview) SetSize(sx, sy int) + func (p *Preview) SetVisible(visible bool) + func (p *Preview) Update() error + type Selector struct + func NewSelector(x, y int) *Selector + func (s *Selector) Bounds() image.Rectangle + func (s *Selector) Draw(screen *ebiten.Image) + func (s *Selector) PreferredSize() (sx, sy int) + func (s *Selector) SetPosition(x, y int) + func (s *Selector) SetSize(sx, sy int) + func (s *Selector) SetVisible(visible bool) + func (s *Selector) Update() error + type Sprite struct + func NewSprite(img *model.Sprite, writable bool, scale int) *Sprite + func (s *Sprite) Bounds() image.Rectangle + func (s *Sprite) Draw(screen *ebiten.Image) + func (s *Sprite) PreferredSize() (int, int) + func (s *Sprite) SetPosition(x, y int) + func (s *Sprite) SetSize(sx, sy int) + func (s *Sprite) SetVisible(visible bool) + func (s *Sprite) Swap(src *model.Sprite) (prev *model.Sprite) + func (s *Sprite) Update() error