I've decided I like setCallback() better than setFunction().

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@217 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Ray Greenwell
2007-05-01 16:32:27 +00:00
parent 353d7213d0
commit 86298ca832
+2 -2
View File
@@ -52,9 +52,9 @@ public class CommandButton extends Button
}
/**
* Set a function to call when the button is pressed.
* Set a callback function to call when the button is pressed.
*/
public function setFunction (fn :Function, arg :Object = null) :void
public function setCallback (fn :Function, arg :Object = null) :void
{
_cmdOrFn = fn;
_arg = arg;