Namespace: DeltaEngine.Rendering2D.Tests
Assembly: DeltaEngine.Rendering2D.Tests (in DeltaEngine.Rendering2D.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Rendering2D.Tests (in DeltaEngine.Rendering2D.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test] public void GetComponentsForEntityDebugger() { var entityWithComponent = new Entity2D(Rectangle.HalfCentered); List<object> components = entityWithComponent.GetComponentsForEditing(); Assert.AreEqual(5, components.Count); Assert.AreEqual(Rectangle.HalfCentered, GetComponent<Rectangle>(components)); Assert.IsTrue(GetComponent<bool>(components)); }
See Also