Namespace: DeltaEngine.Rendering2D
Assembly: DeltaEngine.Rendering2D (in DeltaEngine.Rendering2D.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.Rendering2D.Tests.Entity2DTests
1 unit tests call DeltaEngine.Rendering2D.Entity2D.GetComponentsForEditing
Assembly: DeltaEngine.Rendering2D (in DeltaEngine.Rendering2D.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Return Value
Type: List ObjectRemarks
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