Merge pull request #2816 from ScottNZ/radoc

radoc tidy
This commit is contained in:
Chris Forbes
2013-03-21 23:28:51 -07:00
9 changed files with 66 additions and 63 deletions

View File

@@ -17,14 +17,14 @@ using OpenRA.Traits;
namespace OpenRA
{
//TODO: This is not exported into the documentation yet.
[Desc("A unit/building inside the game. Every rules starts with one and adds trait to it.\n" +
"\t# Special actors like world or player are usually defined in system.yaml and effect everything.")]
[Desc("A unit/building inside the game. Every rules starts with one and adds trait to it.",
"Special actors like world or player are usually defined in system.yaml and affect everything.")]
public class ActorInfo
{
[Desc("The actor name can be anything, but the sprites used in the Render*: traits default to this one.\n" +
"\t# Also if you add an ^ in front of the name, the engine will recognize this as a collection of traits\n" +
"\t# that can be inherited by others (using Inherits:) and not a real unit." +
"\t# You can remove inherited traits by adding a - infront of them as in -TraitName: to inherit everything, but this trait.")]
[Desc("The actor name can be anything, but the sprites used in the Render*: traits default to this one.",
"If you add an ^ in front of the name, the engine will recognize this as a collection of traits",
"that can be inherited by others (using Inherits:) and not a real unit.",
"You can remove inherited traits by adding a - infront of them as in -TraitName: to inherit everything, but this trait.")]
public readonly string Name;
public readonly TypeDictionary Traits = new TypeDictionary();