MenuController IsAnyMenuShown Method Delta Engine Documentation

Namespace: CreepyTowers.GUI
Assembly: CreepyTowers (in CreepyTowers.exe) Version: 1.1.1.0 (1.1.1)
Syntax

public static bool IsAnyMenuShown()

Return Value

Type: Boolean
Remarks

Tests: CreepyTowers.Tests.GUI.MenuControllerTests
Examples

1 unit tests call CreepyTowers.GUI.MenuController.IsAnyMenuShown
[Test, CloseAfterFirstFrame]
public void TheHudIsAlwaysVisibleDuringGameplay()
{
    MenuController.ShowMenu<MockMenuScene>();
    Assert.IsTrue(MenuController.IsAnyMenuShown());
    MenuController.HideMenu<MockMenuScene>();
    Assert.IsFalse(MenuController.IsAnyMenuShown());
}
See Also