more cleanup

This commit is contained in:
Chris Forbes
2011-01-30 14:00:10 +13:00
parent 8874b6ef72
commit c3b08a60b8
3 changed files with 15 additions and 21 deletions

View File

@@ -186,25 +186,6 @@ namespace OpenRA.Editor
void Draw()
{
if (Tool != null) Tool.Apply(this);
AfterChange();
}
int id;
public string NextActorName()
{
for (; ; )
{
var possible = "Actor{0}".F(id++);
if (!Map.Actors.ContainsKey(possible)) return possible;
}
}
public System.Random random = new System.Random();
void DrawWithResource()
{
AfterChange();
}