Esempio 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;
 }
Esempio n. 2
0
 /// <summary>
 /// Set background of level
 /// </summary>
 /// <param name="path">path of background</param>
 /// <param name="theme">name of background</param>
 public void SetBackGround(string path, string theme)
 {
     background = new BackgroundTexture(path, theme);
 }