/** * Método que obtiene un arreglo de las tablas Hash de las variables Locales * * @param g Grafo <code>Vertex<StructV></code> */ private ArrayList<Hashtable> getLocalVariables(Graph g) { ArrayList<Hashtable> localVariables = new ArrayList<Hashtable>(); for (int i = 0; i < g.getNumVertices(); i++) { Sprite tempSprite = ((StructV) g.getVertexAt(i).getValue()).getSprite(); Hashtable tempTable = (Hashtable) ((StructV) g.getVertexAt(i).getValue()).getValue(); if (tempSprite instanceof SpriteVar) localVariables.add(tempTable); } return localVariables; }