Class Shop
java.lang.Object
AbstractStory
ShopStory
Shop
public class Shop
- extends ShopStory
|
Field Summary |
(package private) int |
food
|
(package private) String |
name
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
food
int food
name
String name
Shop
public Shop(String name)
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