Moved ROT from Mobile/Heli/Plane to Unit.

This commit is contained in:
Bob
2010-01-12 21:11:38 +13:00
parent 06969138aa
commit 901d48edfa
14 changed files with 29 additions and 25 deletions

View File

@@ -4,7 +4,9 @@ namespace OpenRa.Game.Traits
{
class UnitInfo : OwnedActorInfo, ITraitInfo
{
public object Create(Actor self) { return new Unit(self); }
public readonly int ROT = 0;
public object Create( Actor self ) { return new Unit( self ); }
}
class Unit : INotifyDamage