helper

package
v0.0.0-...-340e193 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbsInt

func AbsInt(i int) int

func ClickRepeteadly

func ClickRepeteadly(s *SavedGroups, c chan os.Signal)

func Oscillator

func Oscillator(amplitude int) chan int

func RunAutoClicker

func RunAutoClicker()

func StringOscillator

func StringOscillator(s string, amplitude int) chan string

Types

type Point

type Point struct {
	X int
	Y int
}

func (Point) Click

func (p Point) Click()

func (*Point) GetDistance

func (p1 *Point) GetDistance(p2 *Point) float64

func (*Point) GetDistanceFromClosest

func (p0 *Point) GetDistanceFromClosest(pp ...*Point) float64

func (Point) String

func (p Point) String() string

type PointGroup

type PointGroup struct {
	Name   string
	Points []*Point
}

type SavedGroups

type SavedGroups struct {
	Groups []PointGroup
}

Jump to

Keyboard shortcuts

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