Revamped EZGame to work over the security boundary.

Now, instead of implementing "Game" and having the EZGame object assigned
to you, you create it yourself using your top-level component.

You must register listeners manually, and keyboard focus is currently an
issue that I'm working on.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@137 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Ray Greenwell
2007-01-05 18:59:08 +00:00
parent 86a879a725
commit 3b08974f73
14 changed files with 675 additions and 648 deletions
+5 -5
View File
@@ -8,20 +8,20 @@ import flash.events.Event;
public /*abstract*/ class EZEvent extends Event
{
/**
* Access the game object to which this event applies.
* Access the game control to which this event applies.
*/
public function get gameObject () :EZGame
public function get gameControl () :EZGameControl
{
return _ezgame;
}
public function EZEvent (type :String, ezgame :EZGame)
public function EZEvent (type :String, ezgame :EZGameControl)
{
super(type);
_ezgame = ezgame;
}
/** The game object for this event. */
protected var _ezgame :EZGame;
/** The game control for this event. */
protected var _ezgame :EZGameControl;
}
}