From 8a1f9261c30935f49b972997cc2dd90ef5a0dbb9 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Wed, 22 Apr 2015 19:48:39 +1200 Subject: [PATCH] Convert hidden [Desc] to a . --- OpenRA.Game/GameRules/ActorInfo.cs | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/OpenRA.Game/GameRules/ActorInfo.cs b/OpenRA.Game/GameRules/ActorInfo.cs index ebe9f3da2f..ccfadccc4c 100644 --- a/OpenRA.Game/GameRules/ActorInfo.cs +++ b/OpenRA.Game/GameRules/ActorInfo.cs @@ -16,15 +16,18 @@ 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.", - "Special actors like world or player are usually defined in system.yaml and affect everything.")] + /// + /// 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.", - "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.")] + /// + /// 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(); List constructOrderCache = null;