Noah Petherbridge
2b42a072a0
* All private Doodle source code into the pkg/ folder. * Potentially public code into the lib/ folder. * Centralize the logger into a subpackage.
19 lines
364 B
Go
19 lines
364 B
Go
// 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
|
|
)
|
|
|
|
// File extensions
|
|
const (
|
|
LevelExt = ".level"
|
|
DoodadExt = ".doodad"
|
|
)
|