Documentation
¶
Index ¶
Constants ¶
View Source
const ( ModeTitle modeType = 1 << iota // 0x01 ModeGame // 0x02 ModeOver modeType = 255 // 0xff )
Variables ¶
View Source
var (
Score int
)
Functions ¶
This section is empty.
Types ¶
type Game ¶
type Game struct {
// contains filtered or unexported fields
}
Game implements ebiten.Game interface.
var WolfpackApp *Game
func (*Game) Draw ¶
func (g *Game) Draw(screen *ebiten.Image)
Draw draws the game screen. Draw is called every frame (typically 1/60[s] for 60Hz display).
Click to show internal directories.
Click to hide internal directories.