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 `yaml:"scenes"`
// contains filtered or unexported fields
}
func (*Game) MarkResult ¶
func (g *Game) MarkResult()
type Sprite ¶
type Sprite struct {
*Scene
*common.Position
Name string `yaml:"name"`
Group string `yaml:"group"`
Display string `yaml:"display"`
Color string `yaml:"color"`
BgColor string `yaml:"bgColor"`
Foods string `yaml:"foods"`
Forbbiden string `yaml:"forbbiden"`
Freinds string `yaml:"freinds"`
Sprites string `yaml:"sprites"`
IsPlayer bool `yaml:"isPlayer"`
CanMove bool `yaml:"canMove"`
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.