Class StoryStateMachine

java.lang.Object
  extended by AbstractStory
      extended by MultiLocationStory
          extended by StoryStateMachine
Direct Known Subclasses:
MrSacksMachine, MrSacksMachine2

public abstract class StoryStateMachine
extends MultiLocationStory


Field Summary
 
Fields inherited from class AbstractStory
world
 
Constructor Summary
StoryStateMachine()
           
 
Method Summary
 Report createReport(String location)
           
 String getName()
           
abstract  int getState()
           
protected  void setData(StoryData d)
           
 
Methods inherited from class MultiLocationStory
createReport, receiveMessage, receiveMessage
 
Methods inherited from class AbstractStory
getDescription, 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
 

Constructor Detail

StoryStateMachine

public StoryStateMachine()
Method Detail

createReport

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

getName

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

getState

public abstract int getState()

setData

protected final void setData(StoryData d)