initial commit
This commit is contained in:
24
domain/context.go
Normal file
24
domain/context.go
Normal file
@@ -0,0 +1,24 @@
|
||||
package domain
|
||||
|
||||
type User struct {
|
||||
name string
|
||||
}
|
||||
|
||||
type Player struct {
|
||||
name string
|
||||
}
|
||||
|
||||
type GameField struct {
|
||||
Level Level
|
||||
LevelSection LevelSection
|
||||
}
|
||||
|
||||
type Context struct {
|
||||
Player Player
|
||||
User User
|
||||
GameField GameField
|
||||
}
|
||||
|
||||
func CreateContext() Context {
|
||||
return Context{}
|
||||
}
|
||||
Reference in New Issue
Block a user