wall

package
v3.1.0-rc+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2018 License: MIT Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrCreateWall

type ErrCreateWall string

func (ErrCreateWall) Error

func (e ErrCreateWall) Error() string

type Wall

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

func NewLongWall

func NewLongWall(world *world.World) (*Wall, error)

func NewRandWall

func NewRandWall(world *world.World) (*Wall, error)

func NewWall

func NewWall(world *world.World, dm *engine.DotsMask) (*Wall, error)

func (*Wall) Break

func (w *Wall) Break(dot engine.Dot)

func (*Wall) MarshalJSON

func (w *Wall) MarshalJSON() ([]byte, error)

func (*Wall) String

func (w *Wall) String() string

Jump to

Keyboard shortcuts

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