Skip to content

SimulationFight

namespace Griff.Simulations;
public sealed class SimulationFight

How one fight in the arena went (see Fight).

public double DamageDealt { get; init; }

The damage the first side dealt.

public double DamageTaken { get; init; }

The damage the first side took.

public double EnemyHealthLeft { get; init; }

The second side’s health left.

public double HealthLeft { get; init; }

The first side’s health left (all its entities’ together).

public bool Lost { get; }

The second side won.

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).

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.

public override bool Equals(object? obj)
public bool Equals(SimulationFight? other)
public override int GetHashCode()
public override string ToString()