Class Shop

java.lang.Object
  extended by AbstractStory
      extended by ShopStory
          extended by Shop

public class Shop
extends ShopStory


Field Summary
(package private)  int food
           
(package private)  String name
           
 
Fields inherited from class AbstractStory
world
 
Constructor Summary
Shop(String name)
           
 
Method Summary
 Report createReport()
           
 String getName()
           
 void receiveMessage(Option option)
           
 
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
 

Field Detail

food

int food

name

String name
Constructor Detail

Shop

public Shop(String name)
Method Detail

createReport

public Report createReport()
Specified by:
createReport in class AbstractStory

getName

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

receiveMessage

public void receiveMessage(Option option)
Specified by:
receiveMessage in class AbstractStory