Write the C# statements needed for messages and in the white comment boxes. (1 mark each Draw the required diagram piece needed for the statement (this.life = life) Draw the required diagram piece needed for the statement (bombs.Add(b) Rewrite message 2 to return a variable named as (done) a:Enemy i new Bomb (); 1: new Bombo b:Bomb Setlife (); 2: setlife) 2: Set Life (3) this.life – life bombs.Addib) Show transcribed image text Write the C# statements needed for messages and in the white comment boxes. (1 mark each Draw the required diagram piece needed for the statement (this.life = life) Draw the required diagram piece needed for the statement (bombs.Add(b) Rewrite message 2 to return a variable named as (done) a:Enemy i new Bomb (); 1: new Bombo b:Bomb Setlife (); 2: setlife) 2: Set Life (3) this.life – life bombs.Addib)
Expert Answer
Answer to Write the C# statements needed for messages and in the white comment boxes. (1 mark each Draw the required diagram piece…