started porting traits to use new trait args.
This commit is contained in:
@@ -2,12 +2,8 @@
|
||||
|
||||
namespace OpenRa.Game.Traits
|
||||
{
|
||||
class UnitInfo : ITraitInfo
|
||||
class UnitInfo : OwnedActorInfo, ITraitInfo
|
||||
{
|
||||
public readonly int HP = 0;
|
||||
public readonly ArmorType Armor = ArmorType.none;
|
||||
public readonly bool Crewed = false; // replace with trait?
|
||||
|
||||
public object Create(Actor self) { return new Unit(self); }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user