CatalogLibrary.RoomContent
protected static class CMCatalog.RoomContentImpl extends java.lang.Object implements CatalogLibrary.RoomContent
Constructor | Description |
---|---|
RoomContentImpl(Physical P) |
|
RoomContentImpl(Physical P,
Environmental E) |
Modifier and Type | Method | Description |
---|---|---|
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
|
public RoomContentImpl(Physical P)
public RoomContentImpl(Physical P, Environmental E)
public Physical P()
CatalogLibrary.RoomContent
P
in interface CatalogLibrary.RoomContent
public void flagDirty()
CatalogLibrary.RoomContent
flagDirty
in interface CatalogLibrary.RoomContent
public Environmental holder()
CatalogLibrary.RoomContent
holder
in interface CatalogLibrary.RoomContent
public boolean isDirty()
CatalogLibrary.RoomContent
isDirty
in interface CatalogLibrary.RoomContent
public boolean deleted()
CatalogLibrary.RoomContent
deleted
in interface CatalogLibrary.RoomContent