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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addToWorld(AreaEntity area)
activates the behaviour by adding it to an area entityvoid
sets the area entity
-
Constructor Details
-
NoTeleportInBehaviour
public NoTeleportInBehaviour()
-
-
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
-