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

@@ -22,7 +22,7 @@ namespace OpenRA.Mods.D2k.Traits
public readonly string[] SafeTerrain = { "Concrete" };
public readonly int DamageThreshold = 50;
public object Create(ActorInitializer init) { return new DamagedWithoutFoundation(init.self, this); }
public object Create(ActorInitializer init) { return new DamagedWithoutFoundation(init.Self, this); }
}
class DamagedWithoutFoundation : ITick, ISync, INotifyAddedToWorld

View File

@@ -27,7 +27,7 @@ namespace OpenRA.Mods.D2k.Traits
[Desc("Offset relative to the actor TopLeft. Not used if the template is PickAny")]
public readonly CVec Offset = CVec.Zero;
public object Create(ActorInitializer init) { return new LaysTerrain(init.self, this); }
public object Create(ActorInitializer init) { return new LaysTerrain(init.Self, this); }
}
public class LaysTerrain : INotifyAddedToWorld