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; }
/// <summary> /// Set ball of level /// </summary> /// <param name="path">path of ball</param> /// <param name="theme">name of ball</param> public void SetBall(string path, string theme) { ball = new BallTexture(path, theme); }