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