Namespace: DeltaEngine.GameLogic.Tests
Assembly: DeltaEngine.GameLogic.Tests (in DeltaEngine.GameLogic.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.GameLogic.Tests (in DeltaEngine.GameLogic.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test] public void TestIfTwoActorsAreCollidingIn2D() { var actor1 = new MockActor(Vector2D.One, 0.0f, Vector2D.One); var actor2 = new MockActor(Vector2D.Zero, 0.0f, Vector2D.One); Assert.IsTrue(actor1.IsColliding(actor2)); }
See Also