some widgets cleanup
This commit is contained in:
@@ -6,9 +6,8 @@
|
||||
* as published by the Free Software Foundation. For more information,
|
||||
* see LICENSE.
|
||||
*/
|
||||
#endregion
|
||||
|
||||
using System;
|
||||
#endregion
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
@@ -21,7 +20,6 @@ namespace OpenRA.Widgets
|
||||
class WorldInteractionControllerWidget : Widget
|
||||
{
|
||||
public WorldInteractionControllerWidget() : base() {}
|
||||
protected WorldInteractionControllerWidget(WorldInteractionControllerWidget widget) : base(widget) {}
|
||||
|
||||
public override void DrawInner( World world )
|
||||
{
|
||||
@@ -173,7 +171,5 @@ namespace OpenRA.Widgets
|
||||
.DefaultIfEmpty( new Actor[] {} )
|
||||
.FirstOrDefault();
|
||||
}
|
||||
|
||||
public override Widget Clone() { return new WorldInteractionControllerWidget(this); }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user