Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DrawList []Drawfunc
View Source
var InitList []Initfunc
View Source
var UpdateList []Updatefunc
Functions ¶
func RegisterDraw ¶
func RegisterDraw(a func(screen *ebiten.Image), b int)
func RegisterInit ¶
func RegisterUpdate ¶
func RegisterUpdate(a func(), b int)
Types ¶
type Game ¶
type Game struct { }
func (*Game) Draw ¶
func (g *Game) Draw(screen *ebiten.Image)
Draw draws the current game to the given screen.
type Updatefunc ¶
type Updatefunc struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.