cleoni.adv
Class Item
java.lang.Object
cleoni.adv.ManageableObject
cleoni.adv.DimxObject
cleoni.adv.AdvObject
cleoni.adv.PeopleContainer
cleoni.adv.Item
- Direct Known Subclasses:
- Vehicle
public class Item
- extends PeopleContainer
Represents an ITEM
|
Constructor Summary |
Item(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,
java.lang.String aDefContainer)
Item constructor comment. |
| Methods inherited from class cleoni.adv.PeopleContainer |
display, getLinks, getPanel, getWay, hear, isPeopleContainer, playBackground, playSound, sendCmd, setPanel, useView |
| 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, 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 |
| Methods inherited from class cleoni.adv.DimxObject |
displayRight, execMethod, getContents, getId, getName, getObjectsByName, hasMethod, isaCharacter, 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 |
Item
public Item(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,
java.lang.String aDefContainer)
throws DimxException
- Item constructor comment.
- Parameters:
aWorld - leoni.adv.WorldaName - java.lang.StringanId - java.lang.String
- Throws:
DimxException
getTypePrefix
public java.lang.String getTypePrefix()
- Overrides:
getTypePrefix in class AdvObject
isanItem
public boolean isanItem()
- Overrides:
isanItem in class DimxObject
restoreTo
public boolean restoreTo(Player player,
java.lang.StringBuffer alerts,
World myworld)
throws DimxException
- Throws:
DimxException
worldChange
public void worldChange(World toWorld,
java.lang.String newid,
java.lang.String defContainer)
throws DimxException
- See AdvObject.WorldChange
- Overrides:
worldChange in class AdvObject
- Parameters:
See - AdvObject.WorldChangeSee - AdvObject.WorldChange
- Throws:
DimxException - in case of problems