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

View File

@@ -39,7 +39,7 @@ namespace OpenRA.Mods.D2k.Traits
// Terrain tiles define their origin at the topleft
var s = theater.TileSprite(tile);
dirty[cell] = new Sprite(s.sheet, s.bounds, float2.Zero, s.channel, s.blendMode);
dirty[cell] = new Sprite(s.Sheet, s.Bounds, float2.Zero, s.Channel, s.BlendMode);
}
public void TickRender(WorldRenderer wr, Actor self)
@@ -67,10 +67,10 @@ namespace OpenRA.Mods.D2k.Traits
if (!wr.Viewport.VisibleCells.Contains(kv.Key))
continue;
if (wr.world.ShroudObscures(kv.Key))
if (wr.World.ShroudObscures(kv.Key))
continue;
new SpriteRenderable(kv.Value, wr.world.Map.CenterOfCell(kv.Key),
new SpriteRenderable(kv.Value, wr.World.Map.CenterOfCell(kv.Key),
WVec.Zero, -511, pal, 1f, true).Render(wr);
}
}

View File

@@ -33,7 +33,7 @@ namespace OpenRA.Mods.D2k.Traits
public ChooseBuildTabOnSelect(ActorInitializer init, ChooseBuildTabOnSelectInfo info)
{
world = init.world;
world = init.World;
this.info = info;
}

View File

@@ -35,7 +35,7 @@ namespace OpenRA.Mods.D2k.Traits
public readonly string WormSignature = "sandworm";
public readonly string WormOwnerPlayer = "Creeps";
public object Create(ActorInitializer init) { return new WormManager(this, init.self); }
public object Create(ActorInitializer init) { return new WormManager(this, init.Self); }
}
class WormManager : ITick