GameControlBackend -> EZGameBackend. Tab incompletability and prefix

inconsistency finally pushed me over the edge.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@534 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Michael Bayne
2007-12-20 20:16:52 +00:00
parent fea5deae0a
commit 8c27874128
3 changed files with 8 additions and 10 deletions
@@ -89,13 +89,12 @@ import com.threerings.ezgame.data.UserCookie;
/** /**
* Manages the backend of the game. * Manages the backend of the game.
*/ */
public class GameControlBackend public class EZGameBackend
implements MessageListener, SetListener, ElementUpdateListener, PropertySetListener, ChatDisplay implements MessageListener, SetListener, ElementUpdateListener, PropertySetListener, ChatDisplay
{ {
public var log :Log = Log.getLog(this); public var log :Log = Log.getLog(this);
public function GameControlBackend ( public function EZGameBackend (ctx :CrowdContext, ezObj :EZGameObject, ctrl :EZGameController)
ctx :CrowdContext, ezObj :EZGameObject, ctrl :EZGameController)
{ {
_ctx = ctx; _ctx = ctx;
_ezObj = ezObj; _ezObj = ezObj;
@@ -54,8 +54,7 @@ public class EZGameController extends GameController
} }
/** /**
* This is called by the GameControlBackend once it has initialized and made contact with * This is called by the EZGameBackend once it has initialized and made contact with usercode.
* usercode.
*/ */
public function userCodeIsConnected (autoReady :Boolean) :void 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, * Called by the EZGameBackend when the game is ready to start. If the game has ended, this can
* this can be called by all clients to start the game anew. * be called by all clients to start the game anew.
*/ */
public function playerIsReady () :void public function playerIsReady () :void
{ {
@@ -47,7 +47,7 @@ public class EZGamePanel extends Canvas
implements PlaceView implements PlaceView
{ {
/** The game object backend. */ /** The game object backend. */
public var backend :GameControlBackend; public var backend :EZGameBackend;
public function EZGamePanel (ctx :CrowdContext, ctrl :EZGameController) 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. * 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 protected function configureGameView (view :GameContainer) :void