Festança flash game

Flash game I did the development on 2010 for Editora Globo, using A* for path finding.
That was one of my first contact with data structures for games.

public class AStar
public class AStar {
   private var graph:Graph;
private var g:Vector.<Number>;
private var h:Vector.<Number>;
private var f:Vector.<Number>;
private var parent:Vector.<int>;
private var open:Vector.<int>;
private var closed:Vector.<int>;
private var goalReached:Boolean = false;
public function AStar(g:Graph) { setGraph(g); }
public function setGraph(graph:Graph):void {
this.graph = graph; updateGraph();
} ....