Add a lint tag and documentation.
This commit is contained in:
committed by
abcdefg30
parent
9d905d8291
commit
4a60d56753
@@ -18,6 +18,7 @@ using OpenRA.Traits;
|
|||||||
|
|
||||||
namespace OpenRA.Mods.Common.Traits.Render
|
namespace OpenRA.Mods.Common.Traits.Render
|
||||||
{
|
{
|
||||||
|
[Desc("This actor visually connects to walls and changes appearance when actors walk through it.")]
|
||||||
class WithGateSpriteBodyInfo : WithSpriteBodyInfo, IWallConnectorInfo, Requires<GateInfo>
|
class WithGateSpriteBodyInfo : WithSpriteBodyInfo, IWallConnectorInfo, Requires<GateInfo>
|
||||||
{
|
{
|
||||||
[Desc("Cells (outside the gate footprint) that contain wall cells that can connect to the gate")]
|
[Desc("Cells (outside the gate footprint) that contain wall cells that can connect to the gate")]
|
||||||
@@ -26,6 +27,7 @@ namespace OpenRA.Mods.Common.Traits.Render
|
|||||||
[Desc("Wall type for connections")]
|
[Desc("Wall type for connections")]
|
||||||
public readonly string Type = "wall";
|
public readonly string Type = "wall";
|
||||||
|
|
||||||
|
[SequenceReference]
|
||||||
[Desc("Override sequence to use when fully open.")]
|
[Desc("Override sequence to use when fully open.")]
|
||||||
public readonly string OpenSequence = null;
|
public readonly string OpenSequence = null;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user