Namespace: GhostWars
Assembly: GhostWars (in GhostWars.exe) Version: 1.1.1.0 (1.1.1)
Tests: GhostWars.Tests.TreeTests
2 unit tests call GhostWars.Tree.IsActive
Assembly: GhostWars (in GhostWars.exe) Version: 1.1.1.0 (1.1.1)
Syntax
Property Value
Type: BooleanImplements
HierarchyObject2D IsActiveRemarks
Examples
[Test] public void TreeStartsOffBeingActive() { var humanTree = GiveTreeOfTeam(); Assert.IsTrue(humanTree.IsActive); }
[Test] public void SettingInactiveDeactivatesCounterText() { var tree = GiveTreeOfTeam(); tree.IsActive = false; Assert.IsFalse(tree.NumberText.IsActive); }
See Also