Added simulator ToString impls (similar to records)

This commit is contained in:
Asriel Camora
2023-06-29 01:47:01 -07:00
parent 37950b557e
commit 875659e496
5 changed files with 17 additions and 0 deletions
+3
View File
@@ -42,4 +42,7 @@ public struct SimulationState
ActionCount = 0;
ActionStates = new();
}
public override readonly string ToString() =>
$"SimulationState {{ Input = {Input}, ActionCount = {ActionCount}, StepCount = {StepCount}, Progress = {Progress}, Quality = {Quality}, Durability = {Durability}, CP = {CP}, Condition = {Condition}, ActiveEffects = {ActiveEffects}, ActionStates = {ActionStates} }}";
}