StyleCop clean OpenRA.Game

This commit is contained in:
Matthias Mailänder
2015-01-04 11:56:13 +01:00
parent d2d715765c
commit bc3acfeee7
345 changed files with 835 additions and 833 deletions

6
OpenRA.Mods.RA/Render/RenderBuildingWarFactory.cs Executable file → Normal file
View File

@@ -46,11 +46,11 @@ namespace OpenRA.Mods.RA.Traits
public RenderBuildingWarFactory(ActorInitializer init, RenderBuildingInfo info)
: base(init, info)
{
roof = new Animation(init.world, GetImage(init.self));
var bi = init.self.Info.Traits.Get<BuildingInfo>();
roof = new Animation(init.World, GetImage(init.Self));
var bi = init.Self.Info.Traits.Get<BuildingInfo>();
// Additional 512 units move from center -> top of cell
var offset = FootprintUtils.CenterOffset(init.world, bi).Y + 512;
var offset = FootprintUtils.CenterOffset(init.World, bi).Y + 512;
Add("roof", new AnimationWithOffset(roof, null,
() => !buildComplete, offset));
}