level

package
v0.0.0-...-ee820f7 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Level

type Level struct {
	Board [][]rune

	XSize, YSize uint
	// contains filtered or unexported fields
}

func NewLevel

func NewLevel(XSize, YSize uint, wallPool *object_pool.WallPool) Level

func (*Level) AddActorToRenderList

func (l *Level) AddActorToRenderList(actor interfaces.Actor)

func (Level) GetLevelSize

func (l Level) GetLevelSize() (uint, uint)

func (*Level) RenderOnConsole

func (l *Level) RenderOnConsole()

func (*Level) SetObjectOnBoard

func (l *Level) SetObjectOnBoard(x, y uint, object rune)

Jump to

Keyboard shortcuts

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