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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addToWorld(AreaEntity area)
activates the behaviour by adding it to an area entityvoid
sets the area entity
-
Constructor Details
-
NoTeleportOutBehaviour
public NoTeleportOutBehaviour()
-
-
Method Details
-
addToWorld
Description copied from interface:AreaBehaviour
activates the behaviour by adding it to an area entity- Specified by:
addToWorld
in interfaceAreaBehaviour
- Parameters:
area
- area entity
-
removeFromWorld
public void removeFromWorld()Description copied from interface:AreaBehaviour
sets the area entity- Specified by:
removeFromWorld
in interfaceAreaBehaviour
-