Documentation ¶
Index ¶
Constants ¶
View Source
const ( // W is screen width W = 1280 // H is screen height H = 960 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Game ¶
type Game struct {
// contains filtered or unexported fields
}
Game implements ebiten.Game interface and stores the game state.
func (*Game) Draw ¶
Draw is called every frame. The frame frequency depends on the display's refresh rate, so if the display is 60 Hz, Draw will be called 60 times per second.
Click to show internal directories.
Click to hide internal directories.