added TurretedUnit

3tnk works; jeep's turret is off-center (and possibly hard-coded?)
This commit is contained in:
Bob
2009-10-06 20:39:40 +13:00
committed by Chris Forbes
parent 1cf7fdaf06
commit 75d18cf11e
10 changed files with 96 additions and 35 deletions

View File

@@ -53,10 +53,7 @@ namespace OpenRa.Game
string[] buildings = { "fact", "powr", "apwr", "barr", "atek", "stek", "dome" };
foreach (string s in buildings)
{
var t = s;
buildingCreation.Add(t, (location, owner) => new Building(t, location, owner, this));
}
buildingCreation.Add(s, (location, owner) => new Building(s, location, owner, this));
controller = new Controller(this); // CAREFUL THERES AN UGLY HIDDEN DEPENDENCY HERE STILL
worldRenderer = new WorldRenderer(renderer, world);