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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user