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:
@@ -68,10 +68,10 @@ public class PropertyChangedEvent extends EZEvent
|
||||
* Constructor.
|
||||
*/
|
||||
public function PropertyChangedEvent (
|
||||
ezgame :EZGameControl, propName :String, newValue :Object,
|
||||
gameCtrl :Object, propName :String, newValue :Object,
|
||||
oldValue :Object, index :int = -1)
|
||||
{
|
||||
super(TYPE, ezgame);
|
||||
super(TYPE, gameCtrl);
|
||||
_name = propName;
|
||||
_newValue = newValue;
|
||||
_oldValue = oldValue;
|
||||
@@ -86,8 +86,7 @@ public class PropertyChangedEvent extends EZEvent
|
||||
|
||||
override public function clone () :Event
|
||||
{
|
||||
return new PropertyChangedEvent(
|
||||
_ezgame, _name, _newValue, _oldValue, _index);
|
||||
return new PropertyChangedEvent(_gameCtrl, _name, _newValue, _oldValue, _index);
|
||||
}
|
||||
|
||||
/** Our implementation details. */
|
||||
|
||||
Reference in New Issue
Block a user