Documentation ¶
Index ¶
- type Game
- func (g *Game) CurrentStateName() string
- func (g *Game) PollAll()
- func (g *Game) PollEvent() platform.Event
- func (g *Game) Render(backBuffer draw.Image) error
- func (g *Game) Running() bool
- func (g *Game) Shutdown()
- func (g *Game) SwitchState(to string, args ...interface{}) error
- func (g *Game) Terminate()
- func (g *Game) Timing() (time.Duration, time.Duration, int)
- func (g *Game) Update() error
- type GameControl
- type GameState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Game ¶
type Game struct {
// contains filtered or unexported fields
}
func (*Game) CurrentStateName ¶
func (*Game) SwitchState ¶
type GameControl ¶
Click to show internal directories.
Click to hide internal directories.