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

int

RallyPoint

Rally position.

public Vec2 RallyPoint { get; }

Property Value

Vec2

Methods

GetSoldierId(int)

Reads a population slot's soldier identifier, or zero.

public int GetSoldierId(int index)

Parameters

index int

Returns

int