cleoni.adv
Class PeopleContainer
java.lang.Object
cleoni.adv.ManageableObject
cleoni.adv.DimxObject
cleoni.adv.AdvObject
cleoni.adv.PeopleContainer
- Direct Known Subclasses:
- Item, Room
public class PeopleContainer
- extends AdvObject
Base class for objects capable of containing people (ROOMS and VEHICLEs). For code optimisation only.
|
Constructor Summary |
PeopleContainer(World aWorld,
java.lang.String aName,
java.lang.String anId,
java.lang.String aDescription,
java.lang.String anIcon,
java.lang.String attrList,
int aCapacity,
int aVolume,
boolean setDefShowpos,
java.lang.String aDefContainer)
Creates a new instance of PeopleContainer |
| Methods inherited from class cleoni.adv.AdvObject |
afterWorldChange, attachEvent, close, contains, copyFacesInto, debug, die, getContents, getDescription, getExactImage, getFreeSpace, getIcon, getMethodArgs, getMethods, getNearestImage, getPeopleContainer, getRoom, getType, getType, getTypePrefix, getUsedSpace, go, hasImageUrl, hasSeveralFaces, hide, isAccessibleFrom, isHidden, isHideable, isLink, isLockable, isLocked, isNear, isOpen, isOpenable, isPickable, isPlayer, isRobot, isVehicle, listImages, moveTo, objPlace, objRemove, open, reset, setDescription, setFacing, setHidden, setHideable, setImage, setLockable, setLocked, setOpenable, toString, varGet, varGetIdAt, varsCount, varsSet, varsToHtmlTable, worldChange |
| Methods inherited from class cleoni.adv.DimxObject |
displayRight, execMethod, getContents, getId, getName, getObjectsByName, hasMethod, isaCharacter, isanItem, isaRoom, refreshView, varExists, varGetAdvObj, varGetBool, varGetDimxObj, varGetInt, varGetStr, varSet, varSet, varSet, varSet, varSet |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PeopleContainer
public PeopleContainer(World aWorld,
java.lang.String aName,
java.lang.String anId,
java.lang.String aDescription,
java.lang.String anIcon,
java.lang.String attrList,
int aCapacity,
int aVolume,
boolean setDefShowpos,
java.lang.String aDefContainer)
throws DimxException
- Creates a new instance of PeopleContainer
- Throws:
DimxException
display
public boolean display(java.lang.String msg)
throws DimxException
- Overrides:
display in class DimxObject
- Throws:
DimxException
getPanel
public Panel getPanel()
- Overrides:
getPanel in class AdvObject
getWay
public Link getWay(java.lang.String wayId)
getLinks
public Dict getLinks()
isPeopleContainer
public boolean isPeopleContainer()
- Overrides:
isPeopleContainer in class AdvObject
hear
public boolean hear(DimxObject from,
java.lang.String msg)
throws DimxException
- Overrides:
hear in class AdvObject
- Throws:
DimxException
playBackground
public boolean playBackground(java.lang.String soundfile,
boolean loop)
throws DimxException
- Overrides:
playBackground in class DimxObject
- Throws:
DimxException
playSound
public boolean playSound(java.lang.String soundfile)
throws DimxException
- Overrides:
playSound in class DimxObject
- Throws:
DimxException
sendCmd
public boolean sendCmd(java.lang.String cmd)
throws DimxException
- Overrides:
sendCmd in class DimxObject
- Throws:
DimxException
setPanel
public boolean setPanel(java.lang.String panelId)
throws DimxException
- Overrides:
setPanel in class DimxObject
- Throws:
DimxException
useView
public boolean useView(Page view)
throws DimxException
- Overrides:
useView in class DimxObject
- Throws:
DimxException