public override void Draw(SpriteBatch spriteBatch) { if (Visible) { ToggleButton.Draw(spriteBatch); ItemMenu.Draw(spriteBatch); } }
public override void Draw(SpriteBatch batch, Vector2 mousePos) { showGrid.Draw(batch, mousePos); clampMouse.Draw(batch, mousePos); guidesButton.Draw(batch, mousePos); clampVertex.Draw(batch, mousePos); mapSett.Draw(batch, mousePos); mapPos.Draw(batch, mousePos); mapName.Draw(batch, mousePos); }