drawer

package
v0.0.0-...-bd015fa Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2015 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Drawer

type Drawer interface {
	Draw(t *terrain.Terrain) error
}

type Png8Drawer

type Png8Drawer struct {
	Writer io.Writer
}

func (*Png8Drawer) Draw

func (pngd *Png8Drawer) Draw(t *terrain.Terrain) error

type PngDrawer

type PngDrawer struct {
	Writer io.Writer
}

func NewPng8Drawer

func NewPng8Drawer(writer io.Writer) *PngDrawer

func NewPngDrawer

func NewPngDrawer(writer io.Writer) *PngDrawer

func (*PngDrawer) Draw

func (pngd *PngDrawer) Draw(t *terrain.Terrain) error

Jump to

Keyboard shortcuts

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