cz.cuni.amis.pogamut.ut2004.storyworld.place
Class SPStoryPlaceBase

java.lang.Object
  extended by cz.cuni.amis.pogamut.ut2004.storyworld.place.SPStoryPlace
      extended by cz.cuni.amis.pogamut.ut2004.storyworld.place.SPStoryPlaceBase

public class SPStoryPlaceBase
extends SPStoryPlace

Place that doesn't contain more places - directly related to the virtual world.


Field Summary
 
Fields inherited from class cz.cuni.amis.pogamut.ut2004.storyworld.place.SPStoryPlace
insidePlaceName
 
Constructor Summary
SPStoryPlaceBase(java.lang.String name, SPStoryPlace inside, java.lang.String[] navPoints)
           
 
Method Summary
protected  void bountNavPoints(MapPointListObtained map)
           
 java.util.Set<SPStoryPlace> getContainsAllPlaces()
          Base places don't contains any places...
 java.util.Set<SPStoryPlace> getContainsPlaces()
          Base places don't contains any places...
 java.util.Set<NavPoint> getNavPoints()
          Returns places inside the virtual world that belongs to this place.
protected  void setVirtualPlaces(NavPoint[] places)
           
protected  void setVirtualPlaces(java.lang.String[] names)
           
 
Methods inherited from class cz.cuni.amis.pogamut.ut2004.storyworld.place.SPStoryPlace
contains, equals, getCenter, getCenterNavPoint, getFurthestNavPoint, getHigherPlaces, getInsidePlace, getInsidePlaceName, getName, getNavPointDistances, getNavPointDistancesSwapped, getNavPointsList, getNearestNavPoint, getRandomNavPoint, getRandomNavPoint, hashCode, setInsidePlace, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SPStoryPlaceBase

public SPStoryPlaceBase(java.lang.String name,
                        SPStoryPlace inside,
                        java.lang.String[] navPoints)
Method Detail

getNavPoints

public java.util.Set<NavPoint> getNavPoints()
Returns places inside the virtual world that belongs to this place. Basically this is binding to the chosen 3D world simulator. It should contains objects upon whose the real path-finding can run.

Overrides:
getNavPoints in class SPStoryPlace
Returns:

setVirtualPlaces

protected void setVirtualPlaces(NavPoint[] places)

setVirtualPlaces

protected void setVirtualPlaces(java.lang.String[] names)

bountNavPoints

protected void bountNavPoints(MapPointListObtained map)

getContainsPlaces

public java.util.Set<SPStoryPlace> getContainsPlaces()
Base places don't contains any places... returns immutable empty set.

Overrides:
getContainsPlaces in class SPStoryPlace
Returns:

getContainsAllPlaces

public java.util.Set<SPStoryPlace> getContainsAllPlaces()
Base places don't contains any places... returns immutable empty set.

Overrides:
getContainsAllPlaces in class SPStoryPlace
Returns: