Made ObserverList work with a passed-in function, actionscript style.
I might reconsider some earlier decisions to go away from ObserverList.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3952 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-03-16 02:11:27 +00:00
parent 3325b1d7a3
commit 03d94291db
11 changed files with 1141 additions and 0 deletions
@@ -146,6 +146,11 @@ public class TestClient extends Client
": " + arguments);
}
public function crazyArgs (num :int = 0, str :String = "lol") :void
{
Log.debug("crazyArgs " + num + ", " + str);
}
prototype var _foo :String;
protected var _savedFunc :Function;