uk.ac.ed.inf.sdp2012.group7.strategy.oldastar
Class OldAreaMap
java.lang.Object
uk.ac.ed.inf.sdp2012.group7.strategy.oldastar.OldAreaMap
public class OldAreaMap
- extends java.lang.Object
Field Summary |
static org.apache.log4j.Logger |
logger
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
public static final org.apache.log4j.Logger logger
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()