Inject the SceneRegistry; nix implicit depends.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@639 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Michael Bayne
2008-06-29 14:17:12 +00:00
parent d2841a3976
commit 10bdbaa2f3
5 changed files with 57 additions and 48 deletions
@@ -26,6 +26,7 @@ import com.threerings.presents.data.InvocationMarshaller;
import com.threerings.presents.server.InvocationException;
import com.threerings.crowd.data.BodyObject;
import com.threerings.crowd.server.LocationManager;
import com.threerings.whirled.client.SceneService;
import com.threerings.whirled.data.SceneCodes;
@@ -40,8 +41,10 @@ import static com.threerings.whirled.Log.log;
public abstract class AbstractSceneMoveHandler
implements SceneRegistry.ResolutionListener
{
public AbstractSceneMoveHandler (BodyObject body, InvocationService.InvocationListener listener)
public AbstractSceneMoveHandler (LocationManager locman, BodyObject body,
InvocationService.InvocationListener listener)
{
_locman = locman;
_body = body;
_listener = listener;
}
@@ -80,6 +83,7 @@ public abstract class AbstractSceneMoveHandler
protected abstract void effectSceneMove (SceneManager scmgr)
throws InvocationException;
protected LocationManager _locman;
protected BodyObject _body;
protected InvocationService.InvocationListener _listener;
}