Documentation ¶
Index ¶
Constants ¶
View Source
const ( DifficultyHard Difficulty = "hard" DifficultyNormal = "normal" DifficultyEasy = "easy" )
Variables ¶
View Source
var (
ErrQuitGame = errors.New("quit game")
)
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { StateMachine StateMachine Cursor Cursor MusicPlayer MusicPlayer Difficulty Difficulty R Resource L Localizer }
type Difficulty ¶
type Difficulty string
type DrawContext ¶
type MusicPlayer ¶
type StateMachine ¶
type StateMachine interface { PushState(state State) PopState(v interface{}) }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.