cz.cuni.amis.pogamut.ut2004.communication.worldview.map
Class UT2004Map

java.lang.Object
  extended by cz.cuni.amis.pogamut.ut2004.communication.worldview.map.UT2004Map
All Implemented Interfaces:
IUnrealMap<MapInfo>

public class UT2004Map
extends java.lang.Object
implements IUnrealMap<MapInfo>

Representation of map made from NavPOints and NavPointNeighbourLinks. Doesn't react on changes of worldview, data is copied in constructor.


Constructor Summary
UT2004Map(IWorldView worldView)
           
 
Method Summary
 void addInfo(MapInfo info)
           
 java.util.Set<Waylink> edgeSet()
           
 Box getBox()
          Get smallest box that contains all waypoints of map.
 MapInfo getInfo()
           
 java.lang.String getName()
           
 void printInfo()
           
 void setName(java.lang.String name)
           
 java.util.Collection<Waypoint> vertexSet()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UT2004Map

public UT2004Map(IWorldView worldView)
Method Detail

addInfo

public void addInfo(MapInfo info)
Specified by:
addInfo in interface IUnrealMap<MapInfo>

getInfo

public MapInfo getInfo()
Specified by:
getInfo in interface IUnrealMap<MapInfo>

setName

public void setName(java.lang.String name)
Specified by:
setName in interface IUnrealMap<MapInfo>

getName

public java.lang.String getName()
Specified by:
getName in interface IUnrealMap<MapInfo>

vertexSet

public java.util.Collection<Waypoint> vertexSet()
Specified by:
vertexSet in interface IUnrealMap<MapInfo>

edgeSet

public java.util.Set<Waylink> edgeSet()
Specified by:
edgeSet in interface IUnrealMap<MapInfo>

printInfo

public void printInfo()
Specified by:
printInfo in interface IUnrealMap<MapInfo>

getBox

public Box getBox()
Get smallest box that contains all waypoints of map.

Specified by:
getBox in interface IUnrealMap<MapInfo>
Returns: