storyworld
Class TravelLocation

java.lang.Object
  extended by storyworld.AbstractStory
      extended by storyworld.Location
          extended by storyworld.TravelLocation

public class TravelLocation
extends Location


Field Summary
(package private)  Location destination
           
 
Fields inherited from class storyworld.Location
area, debug, description, descriptionLong, name, registeredStories
 
Constructor Summary
TravelLocation(Connection c)
           
TravelLocation(String s)
           
 
Method Summary
 void enter()
           
 void exit()
           
 Location getDestination()
           
 String getType()
           
 void setDestination(Location l)
           
 
Methods inherited from class storyworld.Location
createReport, createReport, deregisterAllStories, deregisterStory, getArea, getDescription, getDescriptionLong, getName, getReports, registerStory, setArea, setDescription, setDescriptionLong, setName
 
Methods inherited from class storyworld.AbstractStory
activateStory, activateStoryByName, addConnection, addLocation, changeLocationName, createHiddenMarker, deactivateStory, deNotifyLocation, deNotifyLocation, getFullReport, getImageName, getLocation, getMarker, getMidiName, getNextFocusStory, getPlayerLocation, getRandomLocation, getRandomNeighbour, getValue, getWorld, increaseValue, introduceStory, isActive, movePlayerTo, notifyLocation, notifyLocation, playerIsIn, receiveMessage, receiveMessage, removeConnection, sendMessage, sendStats, setActive, setHiddenValue, setImageName, setMidiName, setNextStory, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

destination

Location destination
Constructor Detail

TravelLocation

public TravelLocation(Connection c)

TravelLocation

public TravelLocation(String s)
Method Detail

enter

public void enter()
Overrides:
enter in class AbstractStory

exit

public void exit()
Overrides:
exit in class AbstractStory

getDestination

public Location getDestination()

getType

public String getType()
Overrides:
getType in class Location

setDestination

public void setDestination(Location l)