block

package
v0.0.0-...-330596a Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NOR byte = iota
	AND
	OR
	XOR
	BUTTON
	FLIPFLOP
	LED
	SOUND
	CONDUCTOR
	CUSTOM
	NAND
	XNOR
	RANDOM
	TEXT
	TILE
	NODE
	DELAY
	ANTENNA
	CONDUCTOR_V2
	LED_MIXER
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Creation

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

func NewCreation

func NewCreation() Creation

func (*Creation) Add

func (c *Creation) Add(blockType byte, x float64, y float64, z float64, properties []float64) uint64

func (Creation) Compile

func (c Creation) Compile(writer io.Writer) (err error)

func (*Creation) Connect

func (c *Creation) Connect(src uint64, dst uint64)

Jump to

Keyboard shortcuts

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