cli

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main() int

Types

type State

type State struct {
	AP         *ansipixels.AnsiPixels
	MemProfile string
	CurX, CurY int

	PosX, PosY float64
	VelX, VelY float64

	HasMouse               bool
	MouseX, MouseY         float64
	LastMouseX, LastMouseY float64
	LastMouseAt            time.Time
	MouseSpeed             float64
	MouseAwayX, MouseAwayY float64
	MouseDist              float64
	GameOver               bool
	Clicked                int
}

func (*State) Draw

func (st *State) Draw()

func (*State) Run

func (st *State) Run() int

func (*State) Tick

func (st *State) Tick() bool

Jump to

Keyboard shortcuts

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