Documentation ¶
Index ¶
- func MakeHumidityGrid(rockMask, rainMask [][]bool) [][]mgl32.Vec2
- type EnumBoard
- func (ba *EnumBoard) Click(btn ebiten.MouseButton)
- func (ba *EnumBoard) Draw(screen *ebiten.Image)
- func (ba *EnumBoard) GetState() [][]color.Color
- func (ba *EnumBoard) Hover(x, y int)
- func (ba *EnumBoard) Layout(outsideWidth int, outsideHeight int) (screenWidth int, screenHeight int)
- func (ba *EnumBoard) Reset() error
- func (ba *EnumBoard) Setup(init [][]color.Color)
- func (ba *EnumBoard) Size() (int, int)
- func (ba *EnumBoard) Update() error
- type HumidityBoard
- func (ba *HumidityBoard) Click(btn ebiten.MouseButton)
- func (ba *HumidityBoard) Draw(screen *ebiten.Image)
- func (ba *HumidityBoard) GetState() [][]mgl32.Vec2
- func (ba *HumidityBoard) Hover(x, y int)
- func (ba *HumidityBoard) Layout(outsideWidth int, outsideHeight int) (screenWidth int, screenHeight int)
- func (ba *HumidityBoard) Reset() error
- func (ba *HumidityBoard) Setup(init [][]mgl32.Vec2)
- func (ba *HumidityBoard) Size() (int, int)
- func (ba *HumidityBoard) Update() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeHumidityGrid ¶
Types ¶
type EnumBoard ¶
type EnumBoard struct {
// contains filtered or unexported fields
}
type HumidityBoard ¶
type HumidityBoard struct {
Rocks, Rain [][]bool
// contains filtered or unexported fields
}
PIN
func (*HumidityBoard) Click ¶
func (ba *HumidityBoard) Click(btn ebiten.MouseButton)
func (*HumidityBoard) Draw ¶
func (ba *HumidityBoard) Draw(screen *ebiten.Image)
func (*HumidityBoard) GetState ¶
func (ba *HumidityBoard) GetState() [][]mgl32.Vec2
func (*HumidityBoard) Hover ¶
func (ba *HumidityBoard) Hover(x, y int)
func (*HumidityBoard) Layout ¶
func (ba *HumidityBoard) Layout(outsideWidth int, outsideHeight int) (screenWidth int, screenHeight int)
func (*HumidityBoard) Reset ¶
func (ba *HumidityBoard) Reset() error
func (*HumidityBoard) Setup ¶
func (ba *HumidityBoard) Setup(init [][]mgl32.Vec2)
func (*HumidityBoard) Size ¶
func (ba *HumidityBoard) Size() (int, int)
Click to show internal directories.
Click to hide internal directories.