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

@@ -23,6 +23,7 @@ namespace OpenRA.Mods.Common.Traits
IEnumerable<IActorPreview> RenderPreviewSprites(ActorPreviewInitializer init, RenderSpritesInfo rs, string image, int facings, PaletteReference p);
}
[Desc("Render trait fundament that won't work without additional With* render traits.")]
public class RenderSpritesInfo : IRenderActorPreviewInfo, ITraitInfo, ILegacyEditorRenderInfo
{
[Desc("The sequence name that defines the actor sprites. Defaults to the actor name.")]