cleoni.adv
Class PeopleContainer

java.lang.Object
  extended by cleoni.adv.ManageableObject
      extended by cleoni.adv.DimxObject
          extended by cleoni.adv.AdvObject
              extended by 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.


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
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
 
Method Summary
 boolean display(java.lang.String msg)
           
 Dict getLinks()
           
 Panel getPanel()
           
 Link getWay(java.lang.String wayId)
           
 boolean hear(DimxObject from, java.lang.String msg)
           
 boolean isPeopleContainer()
           
 boolean playBackground(java.lang.String soundfile, boolean loop)
           
 boolean playSound(java.lang.String soundfile)
           
 boolean sendCmd(java.lang.String cmd)
           
 boolean setPanel(java.lang.String panelId)
           
 boolean useView(Page view)
           
 
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 cleoni.adv.ManageableObject
varGet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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
Method Detail

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