Class Courier

java.lang.Object
  extended by AbstractStory
      extended by MultiLocationStory
          extended by Courier

public class Courier
extends MultiLocationStory


Field Summary
(package private)  Location destination
           
(package private)  Location pickup
           
(package private)  Location start
           
(package private)  int state
           
 
Fields inherited from class AbstractStory
world
 
Constructor Summary
Courier(AbstractWorld w, String a, String b, String c)
           
 
Method Summary
 Report createReport(String current)
           
 String getDescription()
           
 String getName()
           
 void receiveMessage(String message)
           
 
Methods inherited from class MultiLocationStory
createReport, receiveMessage
 
Methods inherited from class AbstractStory
getPlayerLocation, getTime, getWorld, isActive, notifyLocation, notifyLocation, setActive, setWorld
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

destination

Location destination

pickup

Location pickup

start

Location start

state

int state
Constructor Detail

Courier

public Courier(AbstractWorld w,
               String a,
               String b,
               String c)
Method Detail

createReport

public Report createReport(String current)
Specified by:
createReport in class MultiLocationStory

getDescription

public String getDescription()
Overrides:
getDescription in class AbstractStory

getName

public String getName()
Specified by:
getName in class AbstractStory

receiveMessage

public void receiveMessage(String message)
Specified by:
receiveMessage in class MultiLocationStory