Namespace: SideScroller
Assembly: SideScroller (in SideScroller.exe) Version: 1.1.1.0 (1.1.1)
Tests: SideScroller.Tests.EnemyPlaneTests
1 unit tests call SideScroller.Plane.IsActive
Assembly: SideScroller (in SideScroller.exe) Version: 1.1.1.0 (1.1.1)
Syntax
Property Value
Type: BooleanImplements
HierarchyObject2D IsActiveRemarks
Examples
[Test] public void EnemyDespawnsOutsideScreenArea() { enemy = new EnemyPlane(new Vector2D(ScreenSpace.Current.Left - enemy.DrawArea.Width, 0.5f)); AdvanceTimeAndUpdateEntities(); Assert.IsFalse(enemy.IsActive); }
See Also