generate

package
v0.0.0-...-2a6a35c Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator interface {
	Generate(frame int, point utils.Point) (utils.Point, movement.Movement)
}

func Get

func Get(s string, args ...float64) Generator

func NewNormRandomDown

func NewNormRandomDown(args ...float64) Generator

NewNormRandomDown (normRadius, downSpeed)

func NewRotateLinear

func NewRotateLinear(args ...float64) Generator

NewRotateLinear (rad, alpha, beta, speed)

func NewSelfTarget

func NewSelfTarget(args ...float64) Generator

NewSelfTarget (speed)

Jump to

Keyboard shortcuts

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