com.planet_ink.coffee_mud.Libraries.interfaces
Interface CatalogLibrary.RoomContent

All Known Implementing Classes:
CMCatalog.RoomContentImpl
Enclosing interface:
CatalogLibrary

public static interface CatalogLibrary.RoomContent

An interface for getting a manipulable list of the content of a room. This interface would represent one mob, item, or shop object in a room. It can then be altered, and flagged as dirty for re-saving to the database.

See Also:
CatalogLibrary.roomContent(Room), CatalogLibrary.updateRoomContent(String, List)

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
 

Method Detail

P

Physical P()
The item or mob in the room

Returns:
item or mob in the room

holder

Environmental holder()
The shopkeeper, or mob that owns the item.

Returns:
mob, or shopkeeper

isDirty

boolean isDirty()
Returns whether the object needs re-saving.

Returns:
whether the object needs re-saving.

flagDirty

void flagDirty()
Sets the object as needing re-saving.


deleted

boolean deleted()
Returns whether the object was deleted.

Returns:
whether the object was deleted.