com.planet_ink.coffee_mud.Libraries
Class CMCatalog.RoomContentImpl

java.lang.Object
  extended by com.planet_ink.coffee_mud.Libraries.CMCatalog.RoomContentImpl
All Implemented Interfaces:
CatalogLibrary.RoomContent
Enclosing class:
CMCatalog

protected static class CMCatalog.RoomContentImpl
extends java.lang.Object
implements CatalogLibrary.RoomContent


Constructor Summary
CMCatalog.RoomContentImpl(Physical P)
           
CMCatalog.RoomContentImpl(Physical P, Environmental E)
           
 
Method Summary
 boolean deleted()
          Returns whether the object was deleted.
 void flagDirty()
          Sets the object as needing re-saving.
 Environmental holder()
          The shopkeeper, or mob that owns the item.
 boolean isDirty()
          Returns whether the object needs re-saving.
 Physical P()
          The item or mob in the room
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMCatalog.RoomContentImpl

public CMCatalog.RoomContentImpl(Physical P)

CMCatalog.RoomContentImpl

public CMCatalog.RoomContentImpl(Physical P,
                                 Environmental E)
Method Detail

P

public Physical P()
Description copied from interface: CatalogLibrary.RoomContent
The item or mob in the room

Specified by:
P in interface CatalogLibrary.RoomContent
Returns:
item or mob in the room

flagDirty

public void flagDirty()
Description copied from interface: CatalogLibrary.RoomContent
Sets the object as needing re-saving.

Specified by:
flagDirty in interface CatalogLibrary.RoomContent

holder

public Environmental holder()
Description copied from interface: CatalogLibrary.RoomContent
The shopkeeper, or mob that owns the item.

Specified by:
holder in interface CatalogLibrary.RoomContent
Returns:
mob, or shopkeeper

isDirty

public boolean isDirty()
Description copied from interface: CatalogLibrary.RoomContent
Returns whether the object needs re-saving.

Specified by:
isDirty in interface CatalogLibrary.RoomContent
Returns:
whether the object needs re-saving.

deleted

public boolean deleted()
Description copied from interface: CatalogLibrary.RoomContent
Returns whether the object was deleted.

Specified by:
deleted in interface CatalogLibrary.RoomContent
Returns:
whether the object was deleted.