Options
All
  • Public
  • Public/Protected
  • All
Menu

Internal tool class representing a node when looking for a path

Hierarchy

  • Node

Index

Constructors

  • new Node(xPos: number, yPos: number): Node
  • Parameters

    • xPos: number
    • yPos: number

    Returns Node

Properties

cost: number = 0
estimateCost: number = -1
open: boolean = true
parent: null | Node = null
pos: FloatPoint
smallestCost: number = -1

Methods

  • reinitialize(xPos: number, yPos: number): void
  • Parameters

    • xPos: number
    • yPos: number

    Returns void

Generated using TypeDoc