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

@@ -46,7 +46,7 @@ namespace OpenRA.Mods.TS.Traits
public WithVoxelUnloadBody(Actor self, WithVoxelUnloadBodyInfo info)
{
var body = self.Trait<IBodyOrientation>();
var body = self.Trait<BodyOrientation>();
var rv = self.Trait<RenderVoxels>();
var idleVoxel = VoxelProvider.GetVoxel(rv.Image, info.IdleSequence);

View File

@@ -34,7 +34,7 @@ namespace OpenRA.Mods.TS.Traits
this.info = info;
movement = self.Trait<IMove>();
var body = self.Trait<IBodyOrientation>();
var body = self.Trait<BodyOrientation>();
var rv = self.Trait<RenderVoxels>();
var voxel = VoxelProvider.GetVoxel(rv.Image, "idle");

View File

@@ -54,7 +54,7 @@ namespace OpenRA.Mods.TS.Traits
{
this.self = self;
var body = self.Trait<IBodyOrientation>();
var body = self.Trait<BodyOrientation>();
var rv = self.Trait<RenderVoxels>();
var landVoxel = VoxelProvider.GetVoxel(rv.Image, info.LandSequence);