chunkymonkey

package
v0.0.0-...-566b5d1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2011 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Game

type Game struct {
	UnderMaintenanceMsg string // if set, logins are disallowed.
	// contains filtered or unexported fields
}

func NewGame

func NewGame(worldPath string) (game *Game, err os.Error)

func (*Game) BroadcastMessage

func (game *Game) BroadcastMessage(msg string)

func (*Game) ItemTypeById

func (game *Game) ItemTypeById(id int) (gamerules.ItemType, bool)

func (*Game) PlayerByEntityId

func (game *Game) PlayerByEntityId(id EntityId) gamerules.IPlayerClient

func (*Game) PlayerByName

func (game *Game) PlayerByName(name string) gamerules.IPlayerClient

func (*Game) Serve

func (game *Game) Serve(addr string)

Directories

Path Synopsis
Utility functions for reading/writing values to NBT files.
Utility functions for reading/writing values to NBT files.
The window package handles windows for inventories.
The window package handles windows for inventories.
Responsible for reading the overall world persistent state.
Responsible for reading the overall world persistent state.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL