fix needless use of reflection

This commit is contained in:
Bob
2010-04-14 10:03:54 +12:00
committed by Chris Forbes
parent e791a44290
commit 0b2da36aea
2 changed files with 19 additions and 16 deletions

View File

@@ -30,13 +30,13 @@ namespace OpenRA.Widgets
public class Widget
{
// Info defined in YAML
public readonly string Id = null;
public readonly string X = "0";
public readonly string Y = "0";
public readonly string Width = "0";
public readonly string Height = "0";
public readonly string Delegate = null;
public readonly bool ClickThrough = false;
public string Id = null;
public string X = "0";
public string Y = "0";
public string Width = "0";
public string Height = "0";
public string Delegate = null;
public bool ClickThrough = false;
public bool Visible = true;
public readonly List<Widget> Children = new List<Widget>();