copy constructors

This commit is contained in:
alzeih
2010-04-24 20:14:33 +12:00
parent 53865f974e
commit 429821f6c4
10 changed files with 89 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@@ -9,6 +9,12 @@ namespace OpenRA.Widgets
{
class PostGameWidget : Widget
{
public PostGameWidget() : base() { }
public PostGameWidget(Widget other) : base(other) { }
public override Widget Clone() { return new PostGameWidget(this); }
public override void Draw(World world)
{
base.Draw(world);