initial commit
This commit is contained in:
27
domain/level.go
Normal file
27
domain/level.go
Normal file
@@ -0,0 +1,27 @@
|
||||
package domain
|
||||
|
||||
type LevelSection struct {
|
||||
}
|
||||
|
||||
type Level struct {
|
||||
LevelSections []LevelSection
|
||||
}
|
||||
|
||||
type LevelManager struct {
|
||||
}
|
||||
|
||||
func (lm LevelManager) Create(screens []LevelSection) Level {
|
||||
return Level{
|
||||
LevelSections: screens,
|
||||
}
|
||||
}
|
||||
|
||||
func (lm LevelManager) List() []Level {
|
||||
return []Level{
|
||||
lm.Create(LevelOne()),
|
||||
}
|
||||
}
|
||||
|
||||
func (lm LevelManager) Get() Level {
|
||||
return Level{}
|
||||
}
|
||||
Reference in New Issue
Block a user