PathFinder

io.indigoengine.roguelike.starterkit.utils.PathFinder$
See thePathFinder companion class
object PathFinder

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
PathFinder.type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def fromImpassable(size: Size, impassable: Batch[Point]): PathFinder
def fromWalkable(size: Size, walkable: Batch[Point]): PathFinder
def locatePath(dice: Dice, start: Point, end: Point, searchGrid: PathFinder): Batch[Point]
def sampleAt(searchGrid: PathFinder, coords: Point, gridWidth: Int): Batch[GridSquare]
def scoreGridSquares(start: Point, end: Point, searchGrid: PathFinder, scoreAmount: GridSquare => Int): Batch[GridSquare]