belt

package
v0.0.0-...-d0275cf Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Belt

type Belt struct {
	Next *Belt
	Last *Belt
	// contains filtered or unexported fields
}

func NewBelt

func NewBelt(x, y, rot int) *Belt

func (*Belt) Extract

func (b *Belt) Extract() int

func (*Belt) Flush

func (b *Belt) Flush()

func (*Belt) Insert

func (b *Belt) Insert(item int) bool

func (*Belt) Item

func (b *Belt) Item() int

func (*Belt) Pos

func (b *Belt) Pos() (int, int)

func (*Belt) Rotation

func (b *Belt) Rotation() int

func (*Belt) TempSetItemDebugDeleteThisFunction

func (b *Belt) TempSetItemDebugDeleteThisFunction(item int)

func (*Belt) Tick

func (b *Belt) Tick()

func (*Belt) Validate

func (b *Belt) Validate()

Jump to

Keyboard shortcuts

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