private var heap: Array
Constructor; makes a new heap array
public function BinaryHeap()
Adds a tile to the binary heap
public function addToHeap( newTile: Tile ):Void
This method returns the lowest F from the heap.
public function getLowest():Tile
This method returns the length of the heap
public function getLength():Number
This method returns the position of the given ID in the heap
public function getPosition( id ):Number
This method changes the given tile’s f in the heap and resorts it.
public function updateList( cp_ ):Void