コード例 #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;
 }
コード例 #2
0
 /// <summary>
 /// Set paddle of level
 /// </summary>
 /// <param name="path">path of paddle</param>
 /// <param name="theme">name of paddle</param>
 public void setPaddle(string path, string theme)
 {
     paddle = new PaddleTexture(path, theme);
 }