2018-09-25 16:40:34 +00:00
|
|
|
// Package enum defines all the little enum types used throughout Doodle.
|
|
|
|
package enum
|
|
|
|
|
|
|
|
// DrawingType tells the EditorScene whether the currently open drawing is
|
|
|
|
// a Level or a Doodad.
|
|
|
|
type DrawingType int
|
|
|
|
|
|
|
|
// EditorType values.
|
|
|
|
const (
|
|
|
|
LevelDrawing DrawingType = iota
|
|
|
|
DoodadDrawing
|
|
|
|
)
|
2018-10-19 20:31:58 +00:00
|
|
|
|
|
|
|
// File extensions
|
|
|
|
const (
|
2021-12-24 05:11:45 +00:00
|
|
|
LevelExt = ".level"
|
|
|
|
DoodadExt = ".doodad"
|
|
|
|
LevelPackExt = ".levelpack"
|
2018-10-19 20:31:58 +00:00
|
|
|
)
|
2021-12-31 00:31:45 +00:00
|
|
|
|
|
|
|
// Responsive breakpoints for mobile friendly UIs.
|
|
|
|
const (
|
|
|
|
ScreenWidthXSmall = 400
|
|
|
|
ScreenWidthSmall = 600
|
|
|
|
ScreenWidthMedium = 800
|
|
|
|
ScreenWidthLarge = 1000
|
|
|
|
)
|