Documentation ¶
Index ¶
- Variables
- type Game
- func (g *Game) Create(p *pet.Pet)
- func (g *Game) Draw(screen *ebiten.Image)
- func (g *Game) DrawInteractionsBar(screen *ebiten.Image)
- func (g *Game) Layout(outsideWidth, outsideHeight int) (screenWidth, screenHeight int)
- func (g *Game) LogState()
- func (g *Game) Update() error
- func (g *Game) UpdatePetState(p petState.PetState)
Constants ¶
This section is empty.
Variables ¶
View Source
var Terminated = errors.New("terminated")
Functions ¶
This section is empty.
Types ¶
type Game ¶
type Game struct {
// contains filtered or unexported fields
}
func (*Game) DrawInteractionsBar ¶
func (g *Game) DrawInteractionsBar(screen *ebiten.Image)
func (*Game) UpdatePetState ¶
Click to show internal directories.
Click to hide internal directories.