Class PassionPopSoul
java.lang.Object
gameelement.soul.BaseSoul
gameelement.soul.PassionPopSoul
- All Implemented Interfaces:
BeAttackedAble
Passion Pop soul with random HP and Passion Pop weakness.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intGenerates HP for a Passion Pop soul.Methods inherited from class BaseSoul
canbeHitByPotion, getImagePath, getSoulHP, getWeaknessType, setImagePath, setSoulHP, setWeaknessType, takeDamageFromPotionMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BeAttackedAble
canbeHitByPotion, takeDamageFromPotion
-
Constructor Details
-
PassionPopSoul
public PassionPopSoul()Creates a Passion Pop soul with randomized HP.
-
-
Method Details
-
randomizePassionSoulHP
public static int randomizePassionSoulHP()Generates HP for a Passion Pop soul.- Returns:
- random HP in the Passion Pop range
-