Пример #1
0
    public bool IsValid()
    {
        bool triggerValueA = _triggerA.ContainOrb(_expectedOrbA) == _expectedValueA;
        bool triggerValueB = _triggerB.ContainOrb(_expectedOrbB) == _expectedValueB;

        return(triggerValueA && triggerValueB);
    }
Пример #2
0
    public bool IsValid()
    {
        bool hasOrb = _trigger.ContainOrb(_expectedOrb);

        return(hasOrb == _expectedValue);
    }