world

package
v0.0.0-...-c67ce8d Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2017 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadSprites

func LoadSprites(name string) (engine.SpriteInstances, error)

Types

type World

type World struct {
	// contains filtered or unexported fields
}

func NewWorld

func NewWorld(name string) (*World, error)

func (*World) GetTexture

func (w *World) GetTexture(index, shade int) engine.Texture

func (*World) GetTile

func (w *World) GetTile(x, y int) int

Jump to

Keyboard shortcuts

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