entity

package
v0.0.0-...-e213e8e Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Drawable

type Drawable interface {
	Draw(*screen.Screen)
}

type Entity

type Entity struct {
	Ch     rune
	Fg, Bg tb.Attribute
	// contains filtered or unexported fields
}

func (*Entity) Draw

func (this *Entity) Draw(scr *screen.Screen)

func (*Entity) Move

func (this *Entity) Move(dx, dy int) (int, int)

func (*Entity) Position

func (this *Entity) Position() (int, int)

func (*Entity) SetPosition

func (this *Entity) SetPosition(x, y int)

Jump to

Keyboard shortcuts

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