org.jadv.basic
Class Portal

java.lang.Object
  |
  +--org.jadv.basic.SavedObject
        |
        +--org.jadv.basic.JAdvObject
              |
              +--org.jadv.basic.Location
                    |
                    +--org.jadv.basic.Portal
All Implemented Interfaces:
java.io.Serializable

public class Portal
extends Location

A Portal is a special Location. This Location sends all elements to a target destination.

Author:
neitzel
See Also:
Serialized Form

Field Summary
(package private)  java.lang.String _Target
           
 
Fields inherited from class org.jadv.basic.Location
 
Fields inherited from class org.jadv.basic.JAdvObject
_children, _description, _HeartBeatTime, _Size
 
Fields inherited from class org.jadv.basic.SavedObject
ObjMan
 
Constructor Summary
Portal()
           
 
Method Summary
 void addChild(JAdvObject obj)
          In this function another move-Request is sent to the event-queue
 void init(java.util.HashMap attribs)
          initialize the Portal
 void save()
          saves the local variables to their attributes
 
Methods inherited from class org.jadv.basic.Location
canMoveIn, getIsBlocked, getNextLocationName, setNextLocationName
 
Methods inherited from class org.jadv.basic.JAdvObject
canMoveOut, create, destroyObject, disableHeartBeat, enableHeartBeat, getDescription, getMasterParentID, getOldParentID, getParentID, getSight, getSize, HeartBeat, removeChild, reset, sendPlayerEvent, setDescription, setMasterParentID_DEEP, setMasterParentID, setOldParentID, setParentID, setSize, setTimer, timer
 
Methods inherited from class org.jadv.basic.SavedObject
addEvent, canBeSwapped, createAttributes, createObject, createObject, createUUID, findObject, getAttribute, getAttributes, getAutoStart, getDeveloper, getId, getIntAttribute, getIntAttribute, getName, getNext, getPrev, hexFormat, isChanged, isValid, loadObject, markChanged, markNotChanged, mergeAttributes, removeFromList, replaceObject, replaceObject, saveObject, setAttribute, setId, setIntAttribute, setName, storeAfter, swapOut
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_Target

java.lang.String _Target
Constructor Detail

Portal

public Portal()
Method Detail

init

public void init(java.util.HashMap attribs)
initialize the Portal

Overrides:
init in class Location
Parameters:
attribs - - Attributes of portal

save

public void save()
saves the local variables to their attributes

Overrides:
save in class Location

addChild

public void addChild(JAdvObject obj)
In this function another move-Request is sent to the event-queue

Overrides:
addChild in class Location
Parameters:
obj - - object to add to this objects.
See Also:
JAdvObject.addChild(org.jadv.basic.JAdvObject)