Documentation
¶
Index ¶
- Constants
- type Camera
- type Game
- func (g *Game) ConfigureEbitengine()
- func (g *Game) Draw(screen *ebiten.Image)
- func (g *Game) Layout(outsideWidth int, outsideHeight int) (screenWidth int, screenHeight int)
- func (g *Game) SetCrosshair(crosshair bool)
- func (g *Game) SetDebug(debug int)
- func (g *Game) SetQVGA(qvga bool)
- func (g *Game) Update() error
Constants ¶
View Source
const (
// Debug constants.
MaxDebug = 5
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Game ¶
type Game struct {
// contains filtered or unexported fields
}
Game represents the game state.
func (*Game) ConfigureEbitengine ¶
func (g *Game) ConfigureEbitengine()
ConfigureEbitengine sets Ebitengine congiuration options.
func (*Game) SetCrosshair ¶
SetCrosshair sets a flag controlling whether a crosshair is drawn.
func (*Game) SetDebug ¶
SetDebug sets a flag controlling whether debug information is printed on the screen.
Click to show internal directories.
Click to hide internal directories.