wall

package
v4.1.2-rc2+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2019 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 ErrCreateWallRuins

type ErrCreateWallRuins string

func (ErrCreateWallRuins) Error

func (e ErrCreateWallRuins) Error() string

type Wall

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

ffjson: skip

func NewWall

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

func NewWallLocation

func NewWallLocation(world world.Interface, location engine.Location) (*Wall, error)

func NewWallRuins

func NewWallRuins(world world.Interface) (*Wall, error)

func (*Wall) Break

func (w *Wall) Break(dot engine.Dot, force float64) (success bool, err error)

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