Exemplo n.º 1
0
 public Level(string levelName, ISet <BrickBasic> bricks, PersonalSounds music, BackgroundTexture background, BallTexture ball, PaddleTexture paddle)
 {
     this.levelName  = levelName;
     this.bricks     = bricks;
     this.music      = music;
     this.background = background;
     this.ball       = ball;
     this.paddle     = paddle;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Set music of level
 /// </summary>
 /// <param name="path">path of music</param>
 /// <param name="theme">name of music</param>
 public void SetMusic(string path, string theme)
 {
     music = new PersonalSounds(path, theme);
 }