/// <summary> Removes a screen based off of the value of _ActiveScreenState </summary> private void RemoveCurrentScreen() { switch (_ActiveScreen) { case Screens.Title: _margin.RemoveChild(GetNode("MarginContainer/TitlePage")); break; case Screens.Game: _margin.RemoveChild(GetNode("MarginContainer/GamePage")); break; case Screens.Instructions: _margin.RemoveChild(GetNode("MarginContainer/InstructionsPage")); break; case Screens.Credits: _margin.RemoveChild(GetNode("MarginContainer/CreditsPage")); break; } }