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

@@ -49,7 +49,7 @@ namespace OpenRA.Mods.Common.Traits
public readonly FirePort[] Ports;
AttackGarrisonedInfo info;
Lazy<IBodyOrientation> coords;
Lazy<BodyOrientation> coords;
List<Armament> armaments;
List<AnimationWithOffset> muzzles;
Dictionary<Actor, IFacing> paxFacing;
@@ -60,7 +60,7 @@ namespace OpenRA.Mods.Common.Traits
: base(self, info)
{
this.info = info;
coords = Exts.Lazy(() => self.Trait<IBodyOrientation>());
coords = Exts.Lazy(() => self.Trait<BodyOrientation>());
armaments = new List<Armament>();
muzzles = new List<AnimationWithOffset>();
paxFacing = new Dictionary<Actor, IFacing>();