Logic Pass Method Delta Engine Documentation

Namespace: Drench.Logics
Assembly: Drench (in Drench.exe) Version: 1.1.1.0 (1.1.1)
Syntax

public abstract void Pass()
Remarks

Tests: Drench.Tests.Logics.TwoPlayerLogicTests
Examples

2 unit tests call Drench.Logics.Logic.Pass
[Test]
public void PassingChangesActivePlayer()
{
    logic.Pass();
    Assert.AreEqual(1, logic.ActivePlayer);
}
[Test]
public void PassingTwiceChangesActivePlayerBack()
{
    logic.Pass();
    logic.Pass();
    Assert.AreEqual(0, logic.ActivePlayer);
}
See Also