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
 be. dauntless. Astar. Astar
 be. dauntless. Astar. BinaryHeap
 be. dauntless. Astar. ClassLoader
 be. dauntless. Astar. GameTile
 be. dauntless. Astar.Tile
 BinaryHeap, be. dauntless. Astar. BinaryHeap
 buildTile, be. dauntless. Astar. GameTile
C
 clippingMode, be. dauntless. Astar. Astar
 closed, be. dauntless. Astar.Tile
 cost, be. dauntless. Astar.Tile
 costDown, be. dauntless. Astar.Tile
 costUp, be. dauntless. Astar.Tile
 count, be. dauntless. Astar.Tile
D
 destroy, be. dauntless. Astar. GameTile
 diagonalCost, be. dauntless. Astar. Astar
E
 endPoint, be. dauntless. Astar. Astar
F
 findPath, be. dauntless. Astar. Astar
 findSurroundingTiles, be. dauntless. Astar. Astar
 foo, be. dauntless. Astar. ClassLoader
 Functions
G
 g, be. dauntless. Astar.Tile
 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
 gUp, be. dauntless. Astar.Tile
H
 h, be. dauntless. Astar.Tile
 heap
 height, be. dauntless. Astar. GameTile
I
 id, be. dauntless. Astar.Tile
 ids, be. dauntless. Astar.Tile
 inOpen, be. dauntless. Astar.Tile
 isClosed, be. dauntless. Astar.Tile
L
 loadTileImage, be. dauntless. Astar. GameTile
 locX, be. dauntless. Astar. GameTile
 locY, be. dauntless. Astar. GameTile
M
 map, be. dauntless. Astar. Astar
 mapH, be. dauntless. Astar. Astar
 mapW, be. dauntless. Astar. Astar
 mc, be. dauntless. Astar. GameTile
 mf, be. dauntless. Astar. Astar
N
 newMap, be. dauntless. Astar. Astar
 notice
O
 openMap, be. dauntless. Astar. Astar
P
 parent, be. dauntless. Astar.Tile
R
 ready, be. dauntless. Astar. Astar
 reset, be. dauntless. Astar.Tile
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)
private var clippingMode: String
The kind of clipping to be used.
private var closed: Boolean
private var cost: Number
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 static var count: Number
public function destroy()
public static var diagonalCost: Number
The diagonal cost of the tile.
private var endPoint: Array
[0] -> x position of endPoint [1]`-> y position of endPoint
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
private var g: Number
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()
private var gUp: Boolean
private var h: Number
private var heap: BinaryHeap
A binary heap containing the tiles
private var heap: Array
var height: Number
public var id: Number
private static var ids: Number
private var inOpen: Boolean
public function isClosed():Boolean
returns whether or not the tile is in the closed list.
public function loadTileImage()
var locX: Number
var locY: Number
private var map: Array
A 2 dimensional map containing references to all tiles
private var mapH: Number
The height of the map
private var mapW: Number
The width of the map
var mc: MovieClip
private var mf: Function
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 var parent: Tile
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