Class AbstractStory

java.lang.Object
  extended by AbstractStory
Direct Known Subclasses:
CharacterStory, LocationStory, MultiLocationStory, ShopStory, TimedStory

public abstract class AbstractStory
extends Object


Field Summary
(package private) static AbstractWorld world
           
 
Constructor Summary
AbstractStory()
           
 
Method Summary
abstract  Report createReport()
           
 String getDescription()
           
abstract  String getName()
           
(package private)  String getPlayerLocation()
           
protected  int getTime()
           
protected  AbstractWorld getWorld()
           
(package private)  boolean isActive()
           
protected  void notifyLocation(Location loc)
           
protected  void notifyLocation(String loc)
           
abstract  void receiveMessage(Option o)
           
(package private)  void setActive(boolean b)
           
protected  void setWorld(AbstractWorld w)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

world

static AbstractWorld world
Constructor Detail

AbstractStory

public AbstractStory()
Method Detail

createReport

public abstract Report createReport()

getDescription

public String getDescription()

getName

public abstract String getName()

getPlayerLocation

final String getPlayerLocation()

getTime

protected final int getTime()

getWorld

protected final AbstractWorld getWorld()

isActive

final boolean isActive()

notifyLocation

protected final void notifyLocation(Location loc)

notifyLocation

protected final void notifyLocation(String loc)

receiveMessage

public abstract void receiveMessage(Option o)

setActive

final void setActive(boolean b)

setWorld

protected final void setWorld(AbstractWorld w)