Class UnitSandbox.Setup

Namespace
TDMaker.Editor
Assembly
TDMaker.Editor.dll

What to test.

public sealed class UnitSandbox.Setup
Inheritance
UnitSandbox.Setup
Inherited Members

Constructors

Setup()

public Setup()

Fields

buyAbilities

Buys every rank of every tower ability before the wave (to test mine fields and other abilities).

public bool buyAbilities

Field Value

bool

count

Enemies sent.

[Min(1)]
public int count

Field Value

int

interval

Seconds between spawns.

[Min(0)]
public float interval

Field Value

float

laneLength

Lane length in world units.

[Min(6)]
public float laneLength

Field Value

float

maxSeconds

Game-time limit.

[Min(1)]
public float maxSeconds

Field Value

float

opponent

Enemy sent against a hero or soldier under test (ignored for enemies).

public EnemyAsset opponent

Field Value

EnemyAsset

rangeYScale

Range ellipse Y scale.

[Min(0.01)]
public float rangeYScale

Field Value

float

seed

Random seed.

public uint seed

Field Value

uint

towers

Towers placed beside the lane, one slot each (any tier).

public List<TowerAsset> towers

Field Value

List<TowerAsset>

unit

Unit under test: an enemy, a hero or a soldier.

public EntityAssetBase unit

Field Value

EntityAssetBase