Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
A
 addToHeap, be. dauntless. Astar. BinaryHeap
 Astar(constructor), be. dauntless. Astar. Astar
B
 BinaryHeap, be. dauntless. Astar. BinaryHeap
 buildTile, be. dauntless. Astar. GameTile
C
 costDown, be. dauntless. Astar.Tile
 costUp, be. dauntless. Astar.Tile
D
 destroy, be. dauntless. Astar. GameTile
F
 findPath, be. dauntless. Astar. Astar
 findSurroundingTiles, be. dauntless. Astar. Astar
 foo, be. dauntless. Astar. ClassLoader
G
 GameTile, be. dauntless. Astar. GameTile
 getCost, be. dauntless. Astar.Tile
 getF, be. dauntless. Astar.Tile
 getG, be. dauntless. Astar.Tile
 getH, be. dauntless. Astar.Tile
 getLength, be. dauntless. Astar. BinaryHeap
 getLocX, be. dauntless. Astar. GameTile
 getLocY, be. dauntless. Astar. GameTile
 getLowest, be. dauntless. Astar. BinaryHeap
 getOpen, be. dauntless. Astar.Tile
 getParent, be. dauntless. Astar.Tile
 getPosition, be. dauntless. Astar. BinaryHeap
 getType, be. dauntless. Astar. GameTile
I
 isClosed, be. dauntless. Astar.Tile
L
 loadTileImage, be. dauntless. Astar. GameTile
N
 newMap, be. dauntless. Astar. Astar
 notice
O
 openMap, be. dauntless. Astar. Astar
R
 ready, be. dauntless. Astar. Astar
 reset, be. dauntless. Astar.Tile
S
 setClipping, be. dauntless. Astar. Astar
 setClosed, be. dauntless. Astar.Tile
 setCost
 setDiagonalCost, be. dauntless. Astar. Astar
 setEndPoint, be. dauntless. Astar. Astar
 setG, be. dauntless. Astar.Tile
 setH, be. dauntless. Astar.Tile
 setHeight, be. dauntless. Astar. GameTile
 setLocX, be. dauntless. Astar. GameTile
 setLocY, be. dauntless. Astar. GameTile
 setMap, be. dauntless. Astar. Astar
 setOpen, be. dauntless. Astar.Tile
 setParent, be. dauntless. Astar.Tile
 setSize, be. dauntless. Astar. ClassLoader
 setStandardCost, be. dauntless. Astar. Astar
 setStartPoint, be. dauntless. Astar. Astar
 setType, be. dauntless. Astar. GameTile
 setWalkable
 setWidth, be. dauntless. Astar. GameTile
T
 Tile, be. dauntless. Astar.Tile
 tileLoaded, be. dauntless. Astar. GameTile
 toggleWalkable
U
 updateList, be. dauntless. Astar. BinaryHeap
public function addToHeap(newTile: Tile):Void
Adds a tile to the binary heap
public function Astar()
Constructor
public function BinaryHeap()
Constructor; makes a new heap array
public function buildTile(onto_mc: MovieClip)
public function costDown():Void
This method tells the node that its NOT being accessed diagonally
public function costUp():Void
This method tells the node that its being accessed diagonally
public function destroy()
public function findPath():Object
find a path from the startPoint to the endPoint in the given map
private function findSurroundingTiles(current: Tile):Array
find the surrounding tiles of the given tile.
public function foo():Void
public function GameTile(x,
y,
cost)
public function getCost():Number
Returns the cost for the tile
public function getF():Number
Returns the F of the tile (F = G + H);
public function getG():Number
get the G (cost) of the tile
public function getH():Number
Returns the H of the tile
public function getLength():Number
This method returns the length of the heap
public function getLocX()
public function getLocY()
public function getLowest():Tile
This method returns the lowest F from the heap.
public function getOpen():Boolean
returns whether or not the tile is in the open list.
public function getParent():Tile
Returns the parent of the node
public function getPosition(id):Number
This method returns the position of the given ID in the heap
public function getType()
public function isClosed():Boolean
returns whether or not the tile is in the closed list.
public function loadTileImage()
public function newMap(w: Number,
h: Number):Void
Build a new Map
public function notice():Void
public function notice():Void
This method is called by A*.
private function openMap()
Opens the map (resets all the tiles)
private function ready():Boolean
Check whether or not all the settings are correct
public function reset():Void
This method resets the tile for further use
public function setClipping(cl: String):Void
Set the clipping mode.
public function setClosed():Void
Set this tile to be in the closed-array.
public function setCost(x: Number,
y: Number,
c: Number):Void
Define the cost of the given tile
public function setCost(_cost: Number):Void
Set the cost for the tile
public function setDiagonalCost(c: Number):Void
Sets the extra cost for going diagonal.
public function setEndPoint(x: Number,
y: Number):Void
Set the end point for the engine.
public function setG(_g: Number):Void
Sets the G (cost) for the tile
public function setH(ex: Number,
ey: Number):Void
sets the H for the node.
public function setHeight(height: Number)
public function setLocX(locX: Number)
public function setLocY(locY: Number)
public function setMap(_map: Array):Void
Set the map for the engine
public function setOpen():Void
Set this tile to be in the open-array.
public function setParent(t: Tile):Void
sets the parent of the node
public function setSize()
public function setStandardCost(c: Number):Void
Sets the standard cost for the map.
public function setStartPoint(x: Number,
y: Number):Void
Set the starting point (player position) for the engine
public function setType(tileType: String)
public function setWalkable(x: Number,
y: Number,
b: Boolean):Void
Toggle the tile to be walkable or not
public function setWalkable(b: Boolean):Void
Set the ability to walk on this the tile
public function setWidth(width: Number)
public function Tile(xp: Number,
yp: Number)
Constructor.
public function tileLoaded()
public function toggleWalkable(x: Number,
y: Number):Void
Toggle the tile to be walkable or not
public function toggleWalkable():Void
Toggles the ability to walk on the tile
public function updateList(cp_):Void
This method changes the given tile’s f in the heap and resorts it.