Class PaintProbe
- Namespace
- Valheim.Testing.Game
- Assembly
- Valheim.Testing.Game.dll
public static class PaintProbe
- Inheritance
-
object
PaintProbe
Methods
Compare(GameActor, string, IReadOnlyList<PaintExpectation>, float)
public static IReadOnlyList<PaintMeasurement> Compare(GameActor actor, string expectedFrom, IReadOnlyList<PaintExpectation> samples, float tolerance)
Parameters
actor GameActor
expectedFrom string
samples IReadOnlyList<PaintExpectation>
tolerance float
Returns
- IReadOnlyList<PaintMeasurement>
Read(Observation, PaintExpectation, float)
public static PaintMeasurement Read(Observation observation, PaintExpectation expected, float tolerance)
Parameters
observation Observation
expected PaintExpectation
tolerance float
Returns
- PaintMeasurement
Validate(string, IReadOnlyList<PaintExpectation>, float)
public static void Validate(string expectedFrom, IReadOnlyList<PaintExpectation> samples, float tolerance)
Parameters
expectedFrom string
samples IReadOnlyList<PaintExpectation>
tolerance float