field

package
v0.0.0-...-8cde130 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: EUPL-1.2 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DecodeError

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

Funge decoding error

func (DecodeError) Error

func (e DecodeError) Error() string

type Field

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

func Load

func Load(fd io.Reader) (*Field, error)

func (*Field) Blank

func (f *Field) Blank(x, y int)

func (Field) Dump

func (f Field) Dump() (int, int, int, int)

func (Field) Get

func (f Field) Get(x, y int) int

func (*Field) Set

func (f *Field) Set(x, y, v int)

func (Field) Step

func (f Field) Step(x, y, dx, dy int) (int, int)

type Line

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

type ReadError

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

Read error

func (ReadError) Error

func (e ReadError) Error() string

func (ReadError) Unwrap

func (e ReadError) Unwrap() error

Jump to

Keyboard shortcuts

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