Namespace: DeltaEngine.Entities
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.Tests.Entities.EntitiesRunnerTests
1 unit tests call DeltaEngine.Entities.EntitiesRunner.RemoveAll
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Remarks
Examples
[Test] public void RemoveAllEntities() { new MockEntity(); new MockEntity().Start<MockUpdateBehavior>(); entities.RunEntities(); Assert.AreEqual(2, EntitiesRunner.Current.NumberOfEntities); EntitiesRunner.Current.RemoveAll(); Assert.AreEqual(0, EntitiesRunner.Current.NumberOfEntities); }
See Also