Fixed up some event constructors that didn't have zero-arg forms.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4157 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-05-30 21:08:39 +00:00
parent 3a7fe70124
commit a3dfc741c6
6 changed files with 15 additions and 10 deletions
@@ -25,7 +25,8 @@ public class ObjectAddedEvent extends NamedEvent
* the specified oid.
* @param oid the oid to add to the oid list attribute.
*/
public function ObjectAddedEvent (targetOid :int, name :String, oid :int)
public function ObjectAddedEvent (
targetOid :int = 0, name :String = null, oid :int = 0)
{
super(targetOid, name);
_oid = oid;
@@ -54,7 +55,7 @@ public class ObjectAddedEvent extends NamedEvent
protected override function notifyListener (listener :Object) :void
{
if (listener is OidListListener) {
listener.objectAdded(this);
(listener as OidListListener).objectAdded(this);
}
}