16 lines
319 B
Go
16 lines
319 B
Go
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
|
|
}
|