Documentation ¶
Overview ¶
Package enum defines all the little enum types used throughout Doodle.
Index ¶
Constants ¶
View Source
const ( LevelExt = ".level" DoodadExt = ".doodad" LevelPackExt = ".levelpack" )
File extensions
View Source
const ( ScreenWidthXSmall = 400 ScreenWidthSmall = 600 ScreenWidthMedium = 800 ScreenWidthLarge = 1000 )
Responsive breakpoints for mobile friendly UIs.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Difficulty ¶
type Difficulty int
const ( // The zero value is the default (Normal) so is b/w compatible with // level files pre-difficulty setting. Peaceful Difficulty = iota - 1 Normal Hard )
func (Difficulty) String ¶
func (d Difficulty) String() string
type DrawingType ¶
type DrawingType int
DrawingType tells the EditorScene whether the currently open drawing is a Level or a Doodad.
const ( LevelDrawing DrawingType = iota DoodadDrawing )
EditorType values.
Click to show internal directories.
Click to hide internal directories.