Class Outside

java.lang.Object
  |
  +--GameObject
        |
        +--RealObject
              |
              +--Room
                    |
                    +--Outside
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable, Spyable

class Outside
extends Room

A kind of Room intended for things that are exposed to the weather, which they tell us about in the long description.


Inner classes inherited from class Room
Room.RoomPassage
 
Inner classes inherited from class RealObject
RealObject.ContentsMessager, RealObject.DescriptionLineProcessor
 
Inner classes inherited from class GameObject
GameObject.LeaveInfo
 
Fields inherited from class Room
passages
 
Fields inherited from class RealObject
contents, longDescription, parentObject, shortDescription, spreadto
 
Fields inherited from class GameObject
masterGame, name
 
Constructor Summary
(package private) Outside()
           
 
Method Summary
 java.lang.String getLongDescription()
          Add the weather to the Room's normal long description.
 
Methods inherited from class Room
canLeave, doAction, enter, findPassageByDirection, leave
 
Methods inherited from class RealObject
checkLeave, clone, getParent, getShortDescription, getSpreadability, goodbye, hello, initialize, isPredicate, preClone, register, roomOf, runSpy, setParent, spread, tellAll, unregister, wanderVia
 
Methods inherited from class GameObject
announce, compareTo, getMasterGame, kill, listen, newInstance, setMasterGame, toString
 
Methods inherited from class java.lang.Object
, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Outside

Outside()
Method Detail

getLongDescription

public java.lang.String getLongDescription()
Add the weather to the Room's normal long description. Weather is defined as either sunny or night depending on the time. Maybe someday we'll have a real Weather object that can give us more information that that.
Overrides:
getLongDescription in class RealObject
Following copied from class: RealObject
Returns:
a String with a long description of the object, generally a full sentence.