Merge pull request #12980 from abcdefg30/laysTerrain

Update the documentation of LaysTerrain
This commit is contained in:
reaperrr
2017-04-20 20:10:14 +02:00
committed by GitHub

View File

@@ -22,10 +22,11 @@ namespace OpenRA.Mods.D2k.Traits
public readonly ushort Template = 0;
[FieldLoader.Require]
[Desc("The terrain types that this template will be placed on")]
[Desc("The terrain types that this template will be placed on.")]
public readonly HashSet<string> TerrainTypes = new HashSet<string>();
[Desc("Offset relative to the actor TopLeft. Not used if the template is PickAny")]
[Desc("Offset relative to the actor TopLeft. Not used if the template is PickAny.",
"Tiles being offset out of the actor's footprint will not be placed.")]
public readonly CVec Offset = CVec.Zero;
public object Create(ActorInitializer init) { return new LaysTerrain(init.Self, this); }