SimulationFight
namespace Griff.Simulations;
public sealed class SimulationFightHow one fight in the arena went (see Fight).
Properties
Section titled “Properties”DamageDealt
Section titled “DamageDealt”public double DamageDealt { get; init; }The damage the first side dealt.
DamageTaken
Section titled “DamageTaken”public double DamageTaken { get; init; }The damage the first side took.
EnemyHealthLeft
Section titled “EnemyHealthLeft”public double EnemyHealthLeft { get; init; }The second side’s health left.
HealthLeft
Section titled “HealthLeft”public double HealthLeft { get; init; }The first side’s health left (all its entities’ together).
public bool Lost { get; }The second side won.
Outcome
Section titled “Outcome”public int Outcome { get; init; }1 if the first side won, -1 if the second did, 0 for a draw (time ran out, or both fell).
Seconds
Section titled “Seconds”public double Seconds { get; init; }Seconds of game time it took.
public int Turns { get; init; }How many rounds of turns it took (0 without a Turn Order).
public bool Won { get; }The first side won.
Methods
Section titled “Methods”Equals
Section titled “Equals”public override bool Equals(object? obj)Equals
Section titled “Equals”public bool Equals(SimulationFight? other)GetHashCode
Section titled “GetHashCode”public override int GetHashCode()ToString
Section titled “ToString”public override string ToString()