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

Package class diagram package SPStoryPlaceBase
java.lang.Object
  extended by cz.cuni.amis.pogamut.udk.storyworld.place.SPStoryPlace
      extended by cz.cuni.amis.pogamut.udk.storyworld.place.SPStoryPlaceBase

public class SPStoryPlaceBase
extends SPStoryPlace

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

Author:
Jimmy

Field Summary
 
Fields inherited from class cz.cuni.amis.pogamut.udk.storyworld.place.SPStoryPlace
insidePlaceName
 
Constructor Summary
SPStoryPlaceBase(String name, SPStoryPlace inside, String[] navPoints)
           
 
Method Summary
protected  void bountNavPoints(MapPointListObtained map)
           
 Set<SPStoryPlace> getContainsAllPlaces()
          Base places don't contains any places...
 Set<SPStoryPlace> getContainsPlaces()
          Base places don't contains any places...
 Set<NavPoint> getNavPoints()
          Returns places inside the virtual world that belongs to this place.
protected  void setVirtualPlaces(NavPoint[] places)
           
protected  void setVirtualPlaces(String[] names)
           
 
Methods inherited from class cz.cuni.amis.pogamut.udk.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(String name,
                        SPStoryPlace inside,
                        String[] navPoints)
Method Detail

getNavPoints

public 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(String[] names)

bountNavPoints

protected void bountNavPoints(MapPointListObtained map)

getContainsPlaces

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

Overrides:
getContainsPlaces in class SPStoryPlace
Returns:

getContainsAllPlaces

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

Overrides:
getContainsAllPlaces in class SPStoryPlace
Returns:


Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.