atavism.server.objects
Class InstanceEntryRegionTrigger
java.lang.Object
atavism.server.objects.InstanceEntryRegionTrigger
- All Implemented Interfaces:
- ResponseCallback, RegionTrigger
public class InstanceEntryRegionTrigger
- extends java.lang.Object
- implements RegionTrigger, ResponseCallback
Perform instance entry when player enters a region. Register with
WorldManagerPlugin.registerRegionTrigger(). The trigger is controled
by region properties:
- instanceName -- destination instance name
- locMarker -- name of marker spawn point in destination instance
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InstanceEntryRegionTrigger
public InstanceEntryRegionTrigger()
enter
public void enter(AOObject obj,
Region region)
- Change player instance when they enter region.
- Specified by:
enter
in interface RegionTrigger
leave
public void leave(AOObject obj,
Region region)
- Do nothing.
- Specified by:
leave
in interface RegionTrigger
handleResponse
public void handleResponse(ResponseMessage response)
- Specified by:
handleResponse
in interface ResponseCallback