add Give Exploration devmode option

This commit is contained in:
Chris Forbes
2010-09-06 17:56:12 +12:00
parent 8b423908ca
commit 7f7f4e81a5
4 changed files with 28 additions and 2 deletions

View File

@@ -86,6 +86,12 @@ namespace OpenRA.Traits
if (self.World.LocalPlayer == self.Owner)
Game.Settings.Debug.ShowCollisions ^= true;
break;
}
case "DevGiveExploration":
{
if (self.World.LocalPlayer == self.Owner)
self.World.WorldActor.Trait<Shroud>().ExploreAll(self.World);
break;
}
}
}