public override void Update(GameTime gameTime) { base.Update(gameTime); _vBox.Bounds = _bounds; if (OnLeftMouseClick()) { if (!_expanded) { _vBox.Elements.AddRange(_textButtons); _expanded = true; } else { List <MenuElement> elements = _vBox.Elements; foreach (TextButton t in _textButtons) { elements.Remove(t); } _expanded = false; } } _vBox.Update(gameTime); }