Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type ErrUnregisteredComponent ¶
type ErrUnregisteredComponent struct{ Name string }
func (ErrUnregisteredComponent) Error ¶
func (err ErrUnregisteredComponent) Error() string
type ErrUnregisteredSystem ¶
type ErrUnregisteredSystem struct{ Name string }
func (ErrUnregisteredSystem) Error ¶
func (err ErrUnregisteredSystem) Error() string
type Game ¶
type Game struct {
Title string `json:"title"`
Version string `json:"version"`
// World is the name of the world to start on.
World string `json:"world"`
// Scene is the name of the scene to start on.
Scene string `json:"scene"`
Debug bool `json:"debug"`
Trace bool `json:"trace"`
Worlds []*World `json:"worlds"`
}
type Scene ¶
func (*Scene) UnmarshalJSON ¶
type SceneLoader ¶
type SceneLoader struct{}
Click to show internal directories.
Click to hide internal directories.