Updated ClientFactory implementations. Use new PlaceManagerDelegate members.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@619 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Michael Bayne
2008-06-08 20:24:30 +00:00
parent e3dc42daab
commit 36c2cc8289
8 changed files with 40 additions and 53 deletions
@@ -24,8 +24,8 @@ package com.threerings.parlor.turn.server;
import com.samskivert.util.RandomUtil;
import com.threerings.util.Name;
import com.threerings.crowd.data.PlaceConfig;
import com.threerings.crowd.data.PlaceObject;
import com.threerings.crowd.server.PlaceManager;
import com.threerings.parlor.game.server.GameManager;
import com.threerings.parlor.game.server.GameManagerDelegate;
@@ -53,13 +53,6 @@ public class TurnGameManagerDelegate extends GameManagerDelegate
{
}
@Override // from PlaceManagerDelegate
public void setPlaceManager (PlaceManager plmgr)
{
super.setPlaceManager(plmgr);
_tgmgr = (TurnGameManager)plmgr;
}
/**
* Returns the index of the current turn holder as configured in the game object.
*
@@ -154,7 +147,14 @@ public class TurnGameManagerDelegate extends GameManagerDelegate
}
}
// documentation inherited
@Override // from PlaceManagerDelegate
public void didInit (PlaceConfig config)
{
super.didInit(config);
_tgmgr = (TurnGameManager)_plmgr;
}
@Override // from PlaceManagerDelegate
public void didStartup (PlaceObject plobj)
{
_turnGame = (TurnGameObject)plobj;