06 Mar Tuesday Python Homework 18:30 – 22.03.01.
Question:
Modify the program we made in the class. Try to add hp attribute to the Enemy class and create a method isKilled() to return True if the hp less than 1 otherwise return False.
Add getDamage() method to the Weapon class so it will return the damage of the weapon you selected.
Sorry, the comment form is closed at this time.