Moved things into lobby from client. Sorted out a better (but still

temporary) mechanism for getting into the first lobby after we logon.
Other cleanups.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@415 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2001-10-09 18:20:08 +00:00
parent 2653f9a416
commit 9884571f6e
8 changed files with 127 additions and 155 deletions
@@ -1,5 +1,5 @@
//
// $Id: LobbyController.java,v 1.2 2001/10/09 17:47:33 mdb Exp $
// $Id: LobbyController.java,v 1.3 2001/10/09 18:20:08 mdb Exp $
package com.threerings.micasa.lobby;
@@ -9,13 +9,15 @@ import com.threerings.cocktail.party.client.PlaceView;
import com.threerings.cocktail.party.util.PartyContext;
import com.threerings.micasa.Log;
import com.threerings.micasa.client.ChatPanel;
import com.threerings.micasa.util.MiCasaContext;
public class LobbyController extends PlaceController
{
public void init (PartyContext ctx, PlaceConfig config)
{
// cast our context reference
_ctx = (MiCasaContext)ctx;
super.init(ctx, config);
Log.info("Lobby controller created [config=" + config + "].");
@@ -23,6 +25,8 @@ public class LobbyController extends PlaceController
protected PlaceView createPlaceView ()
{
return null;
return new LobbyPanel(_ctx);
}
protected MiCasaContext _ctx;
}