protected virtual void Hide() { Visible = false; Enabled = false; foreach (GameComponent component in childComponents) { component.Enabled = false; if (component is DrawableGameComponent) ((DrawableGameComponent)component).Visible = false; } }