Documentation ¶
Overview ¶
Package scene contains all the scenes used in Xaro.
Index ¶
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
}
Game is the main game scene for Xaro.
func NewGame ¶
NewGame stores the player and scene name and sets up the rest of the scene fields in the Game struct.
func (*Game) Preload ¶
func (g *Game) Preload()
Preload loads in all essential graphics and assets for the scene.
type MainMenu ¶
type MainMenu struct{}
MainMenu is the starting scene and way to access the game scene.
func (*MainMenu) Preload ¶
func (*MainMenu) Preload()
Preload loads in all essential graphics and assets for the scene.
Click to show internal directories.
Click to hide internal directories.