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 SettingDrawAreaWithoutInterpolationSetsLastDrawAreaAlso() { var entity = new Entity2D(Rectangle.One); Assert.AreEqual(Rectangle.One, entity.LastDrawArea); entity.SetWithoutInterpolation(Rectangle.HalfCentered); Assert.AreEqual(Rectangle.HalfCentered, entity.DrawArea); Assert.AreEqual(Rectangle.HalfCentered, entity.LastDrawArea); }
See Also