EntityTests TogglingVisibilityOnShownDrawableEntityHidesIt 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 TogglingVisibilityOnShownDrawableEntityHidesIt()
Examples

[Test]
public void TogglingVisibilityOnShownDrawableEntityHidesIt()
{
    var drawable = new DrawableEntity();
    drawable.ToggleVisibility();
    Assert.IsFalse(drawable.IsVisible);
}
See Also