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
LastCommand
public string LastCommand { get; }
Property Value
LastResult
public RunResult? LastResult { get; }
Property Value
Used
public bool Used { get; }
Property Value
Methods
Note(string, RunResult)
public void Note(string command, RunResult result)
Parameters
Observe(bool)
Takes the run's own flag (e.g. a continued run that already used cheats).
public void Observe(bool runUsedCheats)
Parameters
runUsedCheatsbool
Reset()
public void Reset()