Implementing clone() is apparently "required" for subclasses of Event.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4163 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-05-31 02:32:17 +00:00
parent 69c20acd43
commit 1ae124d584
@@ -17,6 +17,11 @@ public class ControllerEvent extends Event
this.arg = arg;
}
public override function clone () :Event
{
return new ControllerEvent(command, arg);
}
public override function toString () :String
{
return "ControllerEvent[" + command + " (" + arg + ")]";