protected override void Draw(GameTime gameTime) { GraphicsDevice.Clear(Color.Wheat); spriteBatch.Begin(); switch (gs) { case GameState.mainmenu: for (int i = 0; i < buttons.Length; i++) { buttons[i].Draw(spriteBatch); } spriteBatch.DrawString(font, MenuText, new Vector2((Window.ClientBounds.Width / 2) - (font.MeasureString(MenuText).Length() / 2), Window.ClientBounds.Height - 75), Color.OrangeRed); spriteBatch.Draw(company, companyRect, Color.White); spriteBatch.Draw(logo, logoRect, Color.White); break; case GameState.nature: n.Draw(spriteBatch); break; case GameState.computer: p.Draw(spriteBatch); break; case GameState.findcouple: fc.Draw(spriteBatch); break; case GameState.fragility: GraphicsDevice.Clear(Color.SkyBlue); f.Draw(spriteBatch); break; case GameState.recycling: r.Draw(spriteBatch); break; case GameState.map: map.Draw(spriteBatch); break; case GameState.letters: l.Draw(spriteBatch); break; case GameState.colors: c.Draw(spriteBatch); break; case GameState.numbers: nu.Draw(spriteBatch); break; default: break; } spriteBatch.End(); base.Draw(gameTime); }