Open robyng opened 2 years ago
An Enemy object has the following properties:
name weapon health strength agility potion An Enemy object has the following methods:
getDescription() getHealth() getAttackValue() isAlive() reduceHealth() Write appropriate tests for the Enemy() constructor and methods.
An Enemy object has the following properties:
name weapon health strength agility potion An Enemy object has the following methods:
getDescription() getHealth() getAttackValue() isAlive() reduceHealth() Write appropriate tests for the Enemy() constructor and methods.