Document the built in hitshape types.

This commit is contained in:
Matthias Mailänder
2020-07-27 20:29:45 +02:00
committed by abcdefg30
parent 006a87692a
commit 1ef5db8896

View File

@@ -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)