Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Instance = &Game{}
Functions ¶
Types ¶
type Game ¶
type Game struct { *tea.Program *yaq.Base SceneNames []string `toml:"scenes"` // contains filtered or unexported fields }
func (*Game) MarkResult ¶
func (g *Game) MarkResult()
type Sprite ¶
type Sprite struct { *Scene *common.Position Name string `toml:"name"` Group string `toml:"group"` Display string `toml:"display"` Color string `toml:"color"` BgColor string `toml:"bgColor"` Foods string `toml:"foods"` Forbbiden string `toml:"forbbiden"` Freinds string `toml:"freinds"` Sprites string `toml:"sprites"` IsPlayer bool `toml:"isPlayer"` CanMove bool `toml:"canMove"` // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.