Merge pull request #5660 from Mailaender/document-traits

Documented some order related traits
This commit is contained in:
Paul Chote
2014-06-21 01:27:11 +12:00
6 changed files with 11 additions and 3 deletions

View File

@@ -12,8 +12,10 @@ using System.Linq;
namespace OpenRA.Traits
{
[Desc("Can be used to make a unit partly uncontrollable by the player.")]
public class RejectsOrdersInfo : ITraitInfo
{
[Desc("Possible values include Attack, AttackMove, Guard, Move.")]
public readonly string[] Except = { };
public object Create(ActorInitializer init) { return new RejectsOrders(this); }