Renamed ClientController to SimulatorController.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1935 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Walter Korman
2002-11-12 19:54:05 +00:00
parent b0056f0f41
commit b90d5e4b85
2 changed files with 12 additions and 10 deletions
@@ -1,5 +1,5 @@
// //
// $Id: SimulatorApp.java,v 1.12 2002/11/12 01:42:28 shaper Exp $ // $Id: SimulatorApp.java,v 1.13 2002/11/12 19:54:05 shaper Exp $
package com.threerings.micasa.simulator.client; package com.threerings.micasa.simulator.client;
@@ -83,9 +83,9 @@ public class SimulatorApp
return new SimpleClient(_frame); return new SimpleClient(_frame);
} }
protected ClientController createController (SimulatorInfo siminfo) protected SimulatorController createController (SimulatorInfo siminfo)
{ {
return new ClientController( return new SimulatorController(
_client.getParlorContext(), _frame, siminfo); _client.getParlorContext(), _frame, siminfo);
} }
@@ -1,5 +1,5 @@
// //
// $Id: ClientController.java,v 1.9 2002/11/12 01:42:28 shaper Exp $ // $Id: SimulatorController.java,v 1.1 2002/11/12 19:54:05 shaper Exp $
package com.threerings.micasa.simulator.client; package com.threerings.micasa.simulator.client;
@@ -19,19 +19,21 @@ import com.threerings.micasa.Log;
import com.threerings.micasa.simulator.data.SimulatorInfo; import com.threerings.micasa.simulator.data.SimulatorInfo;
/** /**
* Responsible for top-level control of the client user interface. * Responsible for top-level control of the simulator client user interface.
*/ */
public class ClientController extends Controller public class SimulatorController extends Controller
implements SessionObserver implements SessionObserver
{ {
/** Command constant used to logoff the client. */ /** Command constant used to logoff the client. */
public static final String LOGOFF = "logoff"; public static final String LOGOFF = "logoff";
// 577-2028
/** /**
* Creates a new client controller. The controller will set everything * Creates a new simulator controller. The controller will set
* up in preparation for logging on. * everything up in preparation for logging on.
*/ */
public ClientController (ParlorContext ctx, SimulatorFrame frame, public SimulatorController (ParlorContext ctx, SimulatorFrame frame,
SimulatorInfo info) SimulatorInfo info)
{ {
// we'll want to keep these around // we'll want to keep these around