EntityTests StartAndStopBehaviorDuringUpdate Method Delta Engine Documentation

Namespace: DeltaEngine.Tests.Entities
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void StartAndStopBehaviorDuringUpdate()
Examples

[Test]
public void StartAndStopBehaviorDuringUpdate()
{
    entityWithTags.Start<CreateEntityStartAndStopBehavior>();
    entities.RunEntities();
    Assert.IsFalse(entityWithTags.Get<Entity>().ContainsBehavior<MockUpdateBehavior>());
}
See Also