Kill RenderUnitRotor in favour of RenderUnit + WithRotor.

This commit is contained in:
Paul Chote
2011-03-23 08:05:09 +13:00
parent c7e2619a98
commit 3071cd8240
8 changed files with 76 additions and 83 deletions

View File

@@ -15,12 +15,12 @@ using OpenRA.Graphics;
namespace OpenRA.Mods.Cnc
{
class WithRoofInfo : ITraitInfo
public class WithRoofInfo : ITraitInfo, ITraitPrerequisite<RenderSimpleInfo>
{
public object Create(ActorInitializer init) { return new WithRoof(init.self); }
}
class WithRoof
public class WithRoof
{
public WithRoof(Actor self)
{