Class Location

java.lang.Object
  extended by AbstractStory
      extended by LocationStory
          extended by Location

public class Location
extends LocationStory


Field Summary
(package private)  String image
           
(package private)  String name
           
(package private)  List<AbstractStory> stories
           
 
Fields inherited from class AbstractStory
world
 
Constructor Summary
Location(String s)
           
Location(String s, String i)
           
 
Method Summary
(package private)  void addStory(AbstractStory s)
           
 Report createReport()
           
(package private)  String getImage()
           
 String getName()
           
(package private)  List<Report> getReports()
           
(package private)  void removeStory(AbstractStory story)
           
 
Methods inherited from class LocationStory
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
 

Field Detail

image

String image

name

String name

stories

List<AbstractStory> stories
Constructor Detail

Location

Location(String s)

Location

Location(String s,
         String i)
Method Detail

addStory

void addStory(AbstractStory s)

createReport

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

getImage

String getImage()

getName

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

getReports

List<Report> getReports()

removeStory

void removeStory(AbstractStory story)