diff --git a/src/as/com/threerings/ezgame/client/GameControlBackend.as b/src/as/com/threerings/ezgame/client/EZGameBackend.as similarity index 99% rename from src/as/com/threerings/ezgame/client/GameControlBackend.as rename to src/as/com/threerings/ezgame/client/EZGameBackend.as index 4552e983..b7fbccf9 100644 --- a/src/as/com/threerings/ezgame/client/GameControlBackend.as +++ b/src/as/com/threerings/ezgame/client/EZGameBackend.as @@ -89,13 +89,12 @@ import com.threerings.ezgame.data.UserCookie; /** * Manages the backend of the game. */ -public class GameControlBackend +public class EZGameBackend implements MessageListener, SetListener, ElementUpdateListener, PropertySetListener, ChatDisplay { public var log :Log = Log.getLog(this); - public function GameControlBackend ( - ctx :CrowdContext, ezObj :EZGameObject, ctrl :EZGameController) + public function EZGameBackend (ctx :CrowdContext, ezObj :EZGameObject, ctrl :EZGameController) { _ctx = ctx; _ezObj = ezObj; diff --git a/src/as/com/threerings/ezgame/client/EZGameController.as b/src/as/com/threerings/ezgame/client/EZGameController.as index 5c9e4430..eb3b91c5 100644 --- a/src/as/com/threerings/ezgame/client/EZGameController.as +++ b/src/as/com/threerings/ezgame/client/EZGameController.as @@ -54,8 +54,7 @@ public class EZGameController extends GameController } /** - * This is called by the GameControlBackend once it has initialized and made contact with - * usercode. + * This is called by the EZGameBackend once it has initialized and made contact with usercode. */ public function userCodeIsConnected (autoReady :Boolean) :void { @@ -77,8 +76,8 @@ public class EZGameController extends GameController } /** - * Called by the GameControlBackend when the game is ready to start. If the game has ended, - * this can be called by all clients to start the game anew. + * Called by the EZGameBackend when the game is ready to start. If the game has ended, this can + * be called by all clients to start the game anew. */ public function playerIsReady () :void { diff --git a/src/as/com/threerings/ezgame/client/EZGamePanel.as b/src/as/com/threerings/ezgame/client/EZGamePanel.as index 001800e7..87339e52 100644 --- a/src/as/com/threerings/ezgame/client/EZGamePanel.as +++ b/src/as/com/threerings/ezgame/client/EZGamePanel.as @@ -47,7 +47,7 @@ public class EZGamePanel extends Canvas implements PlaceView { /** The game object backend. */ - public var backend :GameControlBackend; + public var backend :EZGameBackend; public function EZGamePanel (ctx :CrowdContext, ctrl :EZGameController) { @@ -92,9 +92,9 @@ public class EZGamePanel extends Canvas /** * Creates the backend object that will handle requests from user code. */ - protected function createBackend () :GameControlBackend + protected function createBackend () :EZGameBackend { - return new GameControlBackend(_ctx, _ezObj, _ctrl); + return new EZGameBackend(_ctx, _ezObj, _ctrl); } protected function configureGameView (view :GameContainer) :void