copy constructors
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#region Copyright & License Information
|
||||
#region Copyright & License Information
|
||||
/*
|
||||
* Copyright 2007,2009,2010 Chris Forbes, Robert Pepperell, Matthew Bowra-Dean, Paul Chote, Alli Witheford.
|
||||
* This file is part of OpenRA.
|
||||
@@ -47,6 +47,17 @@ namespace OpenRA.Widgets
|
||||
float? lastPowerDrainedPos;
|
||||
|
||||
string radarCollection;
|
||||
|
||||
public RadarBinWidget() : base() { }
|
||||
|
||||
public RadarBinWidget(Widget other)
|
||||
: base(other)
|
||||
{
|
||||
throw new NotImplementedException("Why are you Cloning RadarBin?");
|
||||
}
|
||||
|
||||
public override Widget Clone() { return new RadarBinWidget(this); }
|
||||
|
||||
|
||||
public override void Draw(World world)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user