Class NoTeleportInBehaviour
java.lang.Object
games.stendhal.server.entity.mapstuff.area.NoTeleportInBehaviour
- All Implemented Interfaces:
AreaBehaviour
prevents teleporting into 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
-
NoTeleportInBehaviour
public NoTeleportInBehaviour()
-
-
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
-