Document the built in hitshape types.
This commit is contained in:
committed by
abcdefg30
parent
006a87692a
commit
1ef5db8896
@@ -35,6 +35,7 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
public readonly BitSet<ArmorType> ArmorTypes = default(BitSet<ArmorType>);
|
public readonly BitSet<ArmorType> ArmorTypes = default(BitSet<ArmorType>);
|
||||||
|
|
||||||
[FieldLoader.LoadUsing("LoadShape")]
|
[FieldLoader.LoadUsing("LoadShape")]
|
||||||
|
[Desc("Engine comes with support for `Circle`, `Capsule`, `Polygon` and `Rectangle`. Defaults to `Circle` when left empty.")]
|
||||||
public readonly IHitShape Type;
|
public readonly IHitShape Type;
|
||||||
|
|
||||||
static object LoadShape(MiniYaml yaml)
|
static object LoadShape(MiniYaml yaml)
|
||||||
|
|||||||
Reference in New Issue
Block a user