move source files to src
This commit is contained in:
15
src/konstructor/kcontext.go
Normal file
15
src/konstructor/kcontext.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package konstructor
|
||||
|
||||
type KContext struct {
|
||||
ScreenType ScreenType
|
||||
ActiveMenu MenuMapKey
|
||||
ActiveDialog DialogMapKey
|
||||
CurrentLevel int
|
||||
CurrentPlayground int
|
||||
Multiplayer bool
|
||||
LiveCount int
|
||||
}
|
||||
|
||||
func (c *KContext) ScreenTypeIs(name ScreenType) bool {
|
||||
return c.ScreenType == name
|
||||
}
|
||||
Reference in New Issue
Block a user