add trait documentation

This commit is contained in:
Matthias Mailänder
2015-05-24 09:09:51 +02:00
parent cc34463019
commit 5b5b0c02dd
7 changed files with 7 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ using OpenRA.Traits;
namespace OpenRA.Mods.Common.Traits
{
[Desc("Render trait for non-animated actors that have sprites facing into each direction.")]
public class RenderUnitInfo : RenderSimpleInfo, Requires<IFacingInfo>
{
public override object Create(ActorInitializer init) { return new RenderUnit(init, this); }