uk.ac.ed.inf.sdp2012.group7.strategy.oldastar
Class OldAreaMap

java.lang.Object
  extended by uk.ac.ed.inf.sdp2012.group7.strategy.oldastar.OldAreaMap

public class OldAreaMap
extends java.lang.Object


Field Summary
static org.apache.log4j.Logger logger
           
 
Method Summary
 void clear()
           
 float getDistanceBetween(OldNode node1, OldNode node2)
           
 OldNode getGoalLocation()
           
 int getGoalLocationX()
           
 int getGoalLocationY()
           
 int getMapHeight()
           
 int getMapWidth()
           
 OldNode getNode(int x, int y)
           
 OldNode[][] getNodes()
           
 int getStartLocationX()
           
 int getStartLocationY()
           
 OldNode getStartNode()
           
 void setGoalLocation(int x, int y)
           
 void setObstical(int x, int y, boolean isObstical)
           
 void setStartLocation(int x, int y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

public static final org.apache.log4j.Logger logger
Method Detail

getNodes

public OldNode[][] getNodes()

setObstical

public void setObstical(int x,
                        int y,
                        boolean isObstical)

getNode

public OldNode getNode(int x,
                       int y)

setStartLocation

public void setStartLocation(int x,
                             int y)

setGoalLocation

public void setGoalLocation(int x,
                            int y)

getStartLocationX

public int getStartLocationX()

getStartLocationY

public int getStartLocationY()

getStartNode

public OldNode getStartNode()

getGoalLocationX

public int getGoalLocationX()

getGoalLocationY

public int getGoalLocationY()

getGoalLocation

public OldNode getGoalLocation()

getDistanceBetween

public float getDistanceBetween(OldNode node1,
                                OldNode node2)

getMapWidth

public int getMapWidth()

getMapHeight

public int getMapHeight()

clear

public void clear()