object

package
Version: v0.0.0-...-2482a4e Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BurnPaper

func BurnPaper(backendHandle *backend.Handle) (int64, error)

func ClearOldStates

func ClearOldStates(handle *backend.Handle) error

func IgnitePaper

func IgnitePaper(backendHandle *backend.Handle, position backend.Position) error

Types

type Particle

type Particle struct {
	backend.Position
	From         backend.Color
	To           backend.Color
	CanBeRedrawn bool
	RedrawIn     uint32
	RedrawDelay  uint32
	Id           int64
}

func (*Particle) AdvanceRedrawDelay

func (particle *Particle) AdvanceRedrawDelay() bool

type Particles

type Particles struct {
	*backend.Rows
}

func QueryChangedParticles

func QueryChangedParticles(handle *backend.Handle) (*Particles, error)

func QueryOldParticles

func QueryOldParticles(handle *backend.Handle) (*Particles, error)

func QueryVisibleParticles

func QueryVisibleParticles(handle *backend.Handle) (*Particles, error)

func (Particles) Close

func (particles Particles) Close()

func (Particles) Next

func (particles Particles) Next() (*Particle, error)

Jump to

Keyboard shortcuts

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