EQTest

Type description and basic instructions.

Description

EQTest is base abstract class for all environment query tests.

Tests are used to define shape of area that is covered by EQS.

To create a environment query tests you should inherit from EQTest class and implement logic that is described below.

CalculateWeight

When inheriting from EQTest you have to override CalculateWeight method.

public class ExampleEQTest : EQTest
{
    protected override float CalculateWeight(EQItem item)
    {
        throw new System.NotImplementedException();
    }
}
  • CalculateWeight returns weight of the given item.

Last updated