Class PlaytestCheatState

Namespace
SurvivorsMaker.Presentation
Assembly
SurvivorsMaker.Presentation.dll

The "CHEATS USED" badge: on once any playtest command succeeded in this run (or the run says it used cheats), until the next run. Speed and single-stepping are not cheats: they never change what the simulation does.

public sealed class PlaytestCheatState
Inheritance
PlaytestCheatState
Inherited Members

Constructors

PlaytestCheatState()

public PlaytestCheatState()

Properties

Commands

Successful commands this run.

public int Commands { get; }

Property Value

int

LastCommand

public string LastCommand { get; }

Property Value

string

LastResult

public RunResult? LastResult { get; }

Property Value

RunResult?

Used

public bool Used { get; }

Property Value

bool

Methods

Note(string, RunResult)

public void Note(string command, RunResult result)

Parameters

command string
result RunResult

Observe(bool)

Takes the run's own flag (e.g. a continued run that already used cheats).

public void Observe(bool runUsedCheats)

Parameters

runUsedCheats bool

Reset()

public void Reset()