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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user