Remove redundant IBodyOrientation[Info] & replace with BodyOrientation[Info]

This commit is contained in:
atlimit8
2015-09-15 22:57:08 -05:00
parent 59edf85513
commit 45112cfa76
34 changed files with 65 additions and 79 deletions

View File

@@ -27,13 +27,13 @@ namespace OpenRA.Mods.Common.Traits
readonly DeveloperMode devMode;
Lazy<AttackBase> attack;
Lazy<IBodyOrientation> coords;
Lazy<BodyOrientation> coords;
Lazy<Health> health;
public CombatDebugOverlay(Actor self)
{
attack = Exts.Lazy(() => self.TraitOrDefault<AttackBase>());
coords = Exts.Lazy(() => self.Trait<IBodyOrientation>());
coords = Exts.Lazy(() => self.Trait<BodyOrientation>());
health = Exts.Lazy(() => self.TraitOrDefault<Health>());
var localPlayer = self.World.LocalPlayer;