Add descriptions to the SelectionSize traits.
This commit is contained in:
@@ -13,9 +13,7 @@ using OpenRA.Traits;
|
||||
|
||||
namespace OpenRA.Mods.Common.Traits
|
||||
{
|
||||
[Desc("Special case trait for unselectable actors that need to define targetable area bounds",
|
||||
"for special cases like C4, engineer repair and tooltips.",
|
||||
"Examples: bridge huts and crates.")]
|
||||
[Desc("Special case trait for actors that need to define targetable area and screen map bounds manually.")]
|
||||
public class CustomSelectionSizeInfo : ITraitInfo
|
||||
{
|
||||
[FieldLoader.Require]
|
||||
|
||||
@@ -13,6 +13,7 @@ using OpenRA.Traits;
|
||||
|
||||
namespace OpenRA.Mods.Common.Traits
|
||||
{
|
||||
[Desc("Automatically calculates the targetable area and screen map boundaries from the sprite size.")]
|
||||
public class AutoSelectionSizeInfo : ITraitInfo, Requires<RenderSpritesInfo>
|
||||
{
|
||||
public object Create(ActorInitializer init) { return new AutoSelectionSize(this); }
|
||||
|
||||
Reference in New Issue
Block a user