Files
narya/src/as/com/threerings/crowd/data/LocationMarshaller_MoveMarshaller.as
T
Ray Greenwell fdfce50d01 Checkpoint, I've got an interactive 2d scene mostly working.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4151 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-26 21:54:34 +00:00

28 lines
776 B
ActionScript

package com.threerings.crowd.data {
import com.threerings.presents.data.InvocationMarshaller_ListenerMarshaller;
import com.threerings.crowd.client.MoveListener
public class LocationMarshaller_MoveMarshaller extends InvocationMarshaller_ListenerMarshaller
{
/** The method id used to dispatch {@link #moveSucceeded}
* responses. */
public static const MOVE_SUCCEEDED :int = 1;
// documentation inherited
public override function dispatchResponse (methodId :int, args :Array) :void
{
switch (methodId) {
case MOVE_SUCCEEDED:
(listener as MoveListener).moveSucceeded(
(args[0] as PlaceConfig));
return;
default:
super.dispatchResponse(methodId, args);
}
}
}
}