public override void Draw(GameTime gameTime) { Vector2 middleScreen = new Vector2(Game1.SCREEN_WIDTH / 2, Game1.SCREEN_HEIGHT / 2); spriteBatch.Begin(); textRenderable = new TextRenderable(titleString, middleScreen + new Vector2(0, -100), titleFont, Color.White); textRenderable.Draw(spriteBatch); for (int i = 0; i < menuStrings.Count; i++) { textRenderable = new TextRenderable(menuStrings[i], middleScreen + new Vector2(0, i * 50), menuFont, Color.White); textRenderable.Draw(spriteBatch); } textRenderable = new TextRenderable("HIGHSCORES", middleScreen + new Vector2(-300, -50), menuFont, Color.White); textRenderable.Draw(spriteBatch); for (int i = 0; i < 5; i++) { textRenderable = new TextRenderable((i + 1).ToString() + ". " + Game1.Scores[i].ToString(), middleScreen + new Vector2(-300, i * 50), menuFont, Color.White); textRenderable.Draw(spriteBatch); } if (unlockChallengeMode == true) { textRenderable = new TextRenderable("CHALLENGE HIGHSCORES", middleScreen + new Vector2(300, -50), menuFont, Color.Red); textRenderable.Draw(spriteBatch); for (int i = 0; i < 5; i++) { textRenderable = new TextRenderable((i + 1).ToString() + ". " + Game1.ChallengeScores[i].ToString(), middleScreen + new Vector2(300, i * 50), menuFont, Color.Red); textRenderable.Draw(spriteBatch); } } selector.Position = middleScreen + new Vector2(200, menuSelector * 50 - selector.getWidth() / 2); selector.Draw(spriteBatch); particleList.Draw(spriteBatch); sliceList.Draw(spriteBatch); spriteBatch.End(); }