From b90d5e4b85b9e9de5394a8a7f8a3175433f7f219 Mon Sep 17 00:00:00 2001 From: Walter Korman Date: Tue, 12 Nov 2002 19:54:05 +0000 Subject: [PATCH] Renamed ClientController to SimulatorController. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1935 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- .../micasa/simulator/client/SimulatorApp.java | 6 +++--- ...tController.java => SimulatorController.java} | 16 +++++++++------- 2 files changed, 12 insertions(+), 10 deletions(-) rename src/java/com/threerings/micasa/simulator/client/{ClientController.java => SimulatorController.java} (86%) diff --git a/src/java/com/threerings/micasa/simulator/client/SimulatorApp.java b/src/java/com/threerings/micasa/simulator/client/SimulatorApp.java index d12bb556b..7f8760218 100644 --- a/src/java/com/threerings/micasa/simulator/client/SimulatorApp.java +++ b/src/java/com/threerings/micasa/simulator/client/SimulatorApp.java @@ -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; @@ -83,9 +83,9 @@ public class SimulatorApp return new SimpleClient(_frame); } - protected ClientController createController (SimulatorInfo siminfo) + protected SimulatorController createController (SimulatorInfo siminfo) { - return new ClientController( + return new SimulatorController( _client.getParlorContext(), _frame, siminfo); } diff --git a/src/java/com/threerings/micasa/simulator/client/ClientController.java b/src/java/com/threerings/micasa/simulator/client/SimulatorController.java similarity index 86% rename from src/java/com/threerings/micasa/simulator/client/ClientController.java rename to src/java/com/threerings/micasa/simulator/client/SimulatorController.java index 0c340e580..e84c6b255 100644 --- a/src/java/com/threerings/micasa/simulator/client/ClientController.java +++ b/src/java/com/threerings/micasa/simulator/client/SimulatorController.java @@ -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; @@ -19,20 +19,22 @@ import com.threerings.micasa.Log; 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 { /** Command constant used to logoff the client. */ public static final String LOGOFF = "logoff"; +// 577-2028 + /** - * Creates a new client controller. The controller will set everything - * up in preparation for logging on. + * Creates a new simulator controller. The controller will set + * everything up in preparation for logging on. */ - public ClientController (ParlorContext ctx, SimulatorFrame frame, - SimulatorInfo info) + public SimulatorController (ParlorContext ctx, SimulatorFrame frame, + SimulatorInfo info) { // we'll want to keep these around _ctx = ctx;