params

package
v0.0.0-...-c728fae Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2018 License: CC0-1.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Coloring determines how objects will be colored:
	/*
		0 - Random colors for each object
		1 - Recognized objects are colored based on their center color
	*/
	Coloring = 1
)

Variables

View Source
var FailedLimit = 100

FailedLimit is how many approximate frames must go by without GetWanted working before warning the user and using the unstuck algorithm

View Source
var Leniance = 3

Leniance determines how far off the size can be for each metric (height and width). For example an object 15x15 would be recognized for a RecognizedObject calling for 13x13 with a leniance setting of 2

View Source
var PathColor = color.RGBA{0, 0, 255, 255}

PathColor is the color of the tiles that Frisk will walk on

View Source
var TileColor = color.RGBA{0, 0, 0, 255}

TileColor is the color that the tiles should be rendered with

View Source
var TileSize = 10

TileSize specifies how large each pathfinding tile should be in height and width. Larger tiles mean faster pathfinding calculation, however smaller tiles mean more precise and better pathfinding

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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