Class RunGainTracker

Namespace
SurvivorsMaker.Presentation
Assembly
SurvivorsMaker.Presentation.dll

Notices items and weapons added to a run between two observations (by definition reference and count, so merges and recycles never count as gains) and writes them to a CombatLedger.

public sealed class RunGainTracker
Inheritance
RunGainTracker
Inherited Members

Constructors

RunGainTracker()

public RunGainTracker()

Methods

Observe(RunState, int, GainSource, CombatLedger)

Records what was added since the last call; returns how many gains were recorded.

public int Observe(RunState run, int wave, GainSource source, CombatLedger ledger)

Parameters

run RunState
wave int
source GainSource
ledger CombatLedger

Returns

int

Reset(RunState)

Takes run as the baseline without recording anything.

public void Reset(RunState run)

Parameters

run RunState