LocalDoorEdge

class LocalDoorEdge(door: GameObject, parent: LocalEdge, destination: Tile) : LocalTileEdge

Functions

execute
Link copied to clipboard
open override fun execute(): Boolean
getCost
Link copied to clipboard
open override fun getCost(): Double
getNeighbors
Link copied to clipboard
fun getNeighbors(onlyWalk: Boolean): MutableList<LocalEdge>
getPathCost
Link copied to clipboard
fun getPathCost(): Double
openedDoor
Link copied to clipboard
fun openedDoor(): Boolean
toString
Link copied to clipboard
open override fun toString(): String

Properties

destination
Link copied to clipboard
val destination: Tile
door
Link copied to clipboard
val door: GameObject
finalDestination
Link copied to clipboard
val finalDestination: Tile
heuristics
Link copied to clipboard
val heuristics: Double
parent
Link copied to clipboard
open override val parent: LocalEdge
type
Link copied to clipboard
open override val type: LocalEdgeType