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
@@ -45,9 +45,9 @@ public class MessageReceivedEvent extends EZEvent
}
public function MessageReceivedEvent (
ezgame :EZGameControl, messageName :String, value :Object)
gameCtrl :Object, messageName :String, value :Object)
{
super(TYPE, ezgame);
super(TYPE, gameCtrl);
_name = messageName;
_value = value;
}
@@ -60,7 +60,7 @@ public class MessageReceivedEvent extends EZEvent
override public function clone () :Event
{
return new MessageReceivedEvent(_ezgame, _name, _value);
return new MessageReceivedEvent(_gameCtrl, _name, _value);
}
protected var _name :String;