Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindResourcePack ¶
func FindResourcePack() string
func LaunchServer ¶
func LaunchServer(world WorldAPI, pack *resourcepack.ResourcePack) error
func LoadResourcePack ¶
func LoadResourcePack() (*resourcepack.ResourcePack, error)
Types ¶
type PlayerAPI ¶
type PlayerAPI interface { Remove() IsValid() bool Command(cmd webclient.Command) Render() sprite.SpriteView PullRequests() (lines []string, sounds []sprite.Sound, flicks []sprite.Flick) }
WorldAPI can be single-threaded; Session will not call any function until the last call returned. This is true across both interfaces.
Click to show internal directories.
Click to hide internal directories.