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