Ejemplo n.º 1
0
 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();
 }
Ejemplo n.º 2
0
 public void startScoreScreen(int time, int hits)
 {
     scoreScreen = new ScoreScreen(time, hits);
     scoreScreen.loadContent();
     fireworks = new Fireworks();
     fireworks.loadContent();
     state = GameState.SCORE;
 }