Question: I 25,points ] Create a class called Ninja that inherits from class Enemy and has an additional attribute number of darts- as well as new

 I 25,points ] Create a class called "Ninja" that inherits from

I 25,points ] Create a class called "Ninja" that inherits from class Enemy and has an additional attribute number of darts- as well as new methods called "throw that decrements the number of darts by 1 and "reload" that increases the number of darts by 15 public class Enemy private string name; private int health; public Enemy():this ( public Enemy(string n, int h) name # n; health - h

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!