cleoni.adv
Class Item

java.lang.Object
  extended by cleoni.adv.ManageableObject
      extended by cleoni.adv.DimxObject
          extended by cleoni.adv.AdvObject
              extended by cleoni.adv.PeopleContainer
                  extended by cleoni.adv.Item
Direct Known Subclasses:
Vehicle

public class Item
extends PeopleContainer

Represents an ITEM


Field Summary
 
Fields inherited from class cleoni.adv.AdvObject
capacity, container, defContainer, facing, images, methodArgs, methods, showfor, showmode, volume
 
Fields inherited from class cleoni.adv.DimxObject
contents, id, name, properties, world
 
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.
 
Method Summary
 java.lang.String getTypePrefix()
           
 boolean isanItem()
           
 boolean restoreTo(Player player, java.lang.StringBuffer alerts, World myworld)
           
 void worldChange(World toWorld, java.lang.String newid, java.lang.String defContainer)
          See AdvObject.WorldChange
 
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 cleoni.adv.ManageableObject
varGet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.World
aName - java.lang.String
anId - java.lang.String
Throws:
DimxException
Method Detail

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.WorldChange
See - AdvObject.WorldChange
Throws:
DimxException - in case of problems