com.threerings.tudey.server
Class TudeyZoneRegistry

java.lang.Object
  extended by com.threerings.whirled.zone.server.ZoneRegistry
      extended by com.threerings.tudey.server.TudeyZoneRegistry
All Implemented Interfaces:
com.threerings.presents.server.InvocationProvider, com.threerings.whirled.zone.server.ZoneProvider

public class TudeyZoneRegistry
extends com.threerings.whirled.zone.server.ZoneRegistry

Provides special handling for moving between Tudey zones.


Constructor Summary
TudeyZoneRegistry(com.threerings.presents.server.InvocationManager invmgr)
          Creates a new zone registry.
 
Method Summary
 String moveBody(com.threerings.whirled.zone.data.ZonedBodyObject source, int zoneId, int sceneId, Object portalKey)
          Forcibly moves a player to a new zoned scene.
 
Methods inherited from class com.threerings.whirled.zone.server.ZoneRegistry
getZoneManager, leaveOccupiedZone, moveBody, moveTo, registerZoneManager
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TudeyZoneRegistry

@Inject
public TudeyZoneRegistry(com.threerings.presents.server.InvocationManager invmgr)
Creates a new zone registry.

Method Detail

moveBody

public String moveBody(com.threerings.whirled.zone.data.ZonedBodyObject source,
                       int zoneId,
                       int sceneId,
                       Object portalKey)
Forcibly moves a player to a new zoned scene.

Parameters:
portalKey - the key of the destination portal.


Copyright © 2011. All Rights Reserved.