Class BarracksComponent
- Namespace
- TDMaker.Core.Components
- Assembly
- TDMaker.Core.dll
Runtime soldier population and rally position.
public sealed class BarracksComponent
- Inheritance
-
BarracksComponent
- Inherited Members
Constructors
BarracksComponent()
public BarracksComponent()
Properties
Count
Population slot count.
public int Count { get; }
Property Value
RallyPoint
Rally position.
public Vec2 RallyPoint { get; }
Property Value
Methods
GetSoldierId(int)
Reads a population slot's soldier identifier, or zero.
public int GetSoldierId(int index)
Parameters
indexint