public void loadContent() { texture = new Texture2D(Program.game.GraphicsDevice, 1, 1); texture.SetData<Color>(new Color[] { Color.White }); menuButton.loadContent(); restartButton.loadContent(); levelButton.loadContent(); fireworks = new Fireworks(); fireworks.loadContent(); }
public void startScoreScreen(int time, int hits) { scoreScreen = new ScoreScreen(time, hits); scoreScreen.loadContent(); fireworks = new Fireworks(); fireworks.loadContent(); state = GameState.SCORE; }