This commit is contained in:
Chris Forbes
2011-05-05 19:37:28 +12:00
parent 90cea9f73d
commit e839ae33d8
2 changed files with 2 additions and 1 deletions

View File

@@ -153,7 +153,7 @@ namespace OpenRA
afterTickActions.PerformActions();
}
private static void Tick( OrderManager orderManager )
static void Tick( OrderManager orderManager )
{
int t = Environment.TickCount;
int dt = t - orderManager.LastTickTime;

View File

@@ -292,6 +292,7 @@ namespace OpenRA.Widgets
child.Parent = this;
Children.Add(child);
}
public virtual void RemoveChild(Widget child) { Children.Remove(child); }
public virtual void RemoveChildren() { Children.Clear(); }