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
@@ -41,9 +41,9 @@ public class OccupantChangedEvent extends EZEvent
}
public function OccupantChangedEvent (
type :String, ezgame :EZGameControl, occupantId :int, player :Boolean)
type :String, gameCtrl :Object, occupantId :int, player :Boolean)
{
super(type, ezgame);
super(type, gameCtrl);
_occupantId = occupantId;
_player = player;
}
@@ -57,7 +57,7 @@ public class OccupantChangedEvent extends EZEvent
override public function clone () :Event
{
return new OccupantChangedEvent(type, _ezgame, _occupantId, _player);
return new OccupantChangedEvent(type, _gameCtrl, _occupantId, _player);
}
protected var _occupantId :int;