Class NoTeleportOutBehaviour
java.lang.Object
games.stendhal.server.entity.mapstuff.area.NoTeleportOutBehaviour
- All Implemented Interfaces:
AreaBehaviour
prevents teleporting out of the specified area
- Author:
- hendrik
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToWorld(AreaEntity area) activates the behaviour by adding it to an area entityvoidsets the area entity
-
Constructor Details
-
NoTeleportOutBehaviour
public NoTeleportOutBehaviour()
-
-
Method Details
-
addToWorld
Description copied from interface:AreaBehaviouractivates the behaviour by adding it to an area entity- Specified by:
addToWorldin interfaceAreaBehaviour- Parameters:
area- area entity
-
removeFromWorld
public void removeFromWorld()Description copied from interface:AreaBehavioursets the area entity- Specified by:
removeFromWorldin interfaceAreaBehaviour
-