The great Game API re-org.

Moved everything onto sub-control objects.
Got rid of the Listener interfaces.
https://intranet.earth.threerings.net/metasoy/EZGame_API_Reorg

I'll go through and make the documentation nice next.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@535 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Ray Greenwell
2007-12-21 23:57:02 +00:00
parent 8c27874128
commit d711f2ae97
25 changed files with 1346 additions and 1069 deletions
+6 -5
View File
@@ -30,19 +30,20 @@ public /*abstract*/ class EZEvent extends Event
{
/**
* Access the game control to which this event applies.
* Note: you will need to cast this to the appropriate GameControl type.
*/
public function get gameControl () :EZGameControl
public function get gameControl () :AbstractGameControl
{
return _ezgame;
return _gameCtrl;
}
public function EZEvent (type :String, ezgame :EZGameControl)
public function EZEvent (type :String, gameCtrl :Object)
{
super(type);
_ezgame = ezgame;
_gameCtrl = gameCtrl as AbstractGameControl;
}
/** The game control for this event. */
protected var _ezgame :EZGameControl;
protected var _gameCtrl :AbstractGameControl;
}
}