Namespace: DeltaEngine.Rendering2D
Assembly: DeltaEngine.Rendering2D (in DeltaEngine.Rendering2D.dll) Version: 1.1.1.0 (1.1.1)
Tests: GameOfLife.Tests.CellTests
2 unit tests call DeltaEngine.Rendering2D.Entity2D.Color
Assembly: DeltaEngine.Rendering2D (in DeltaEngine.Rendering2D.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Property Value
Type: ColorRemarks
Examples
[Test, CloseAfterFirstFrame] public void NewCellIsDeadAndHasTransparentWhiteColor() { Assert.IsFalse(cell.IsAlive); Assert.AreEqual(Color.TransparentWhite, cell.Color); }
[Test, CloseAfterFirstFrame] public void LiveCellHasWhiteColor() { cell.Revive(); Assert.AreEqual(Color.White, cell.Color); }
See Also