Documentation ¶
Index ¶
- Variables
- type UI
- func (u *UI) Draw(screen *ebiten.Image)
- func (u *UI) DrawPieces(screen *ebiten.Image)
- func (u *UI) DrawSquares(screen *ebiten.Image)
- func (u *UI) DrawTextBottom(txt string, screen *ebiten.Image)
- func (u *UI) Layout(outsideWidth, outsideHeight int) (int, int)
- func (u *UI) RecalcCanMove()
- func (u *UI) Update() error
Constants ¶
This section is empty.
Variables ¶
View Source
var HEIGHT int
View Source
var WIDTH int
Functions ¶
This section is empty.
Types ¶
type UI ¶
type UI struct {
// contains filtered or unexported fields
}
func (*UI) DrawPieces ¶
func (u *UI) DrawPieces(screen *ebiten.Image)
func (*UI) DrawSquares ¶
func (u *UI) DrawSquares(screen *ebiten.Image)
func (*UI) DrawTextBottom ¶
func (*UI) RecalcCanMove ¶
func (u *UI) RecalcCanMove()
Click to show internal directories.
Click to hide internal directories.