Class StarloveCharmSoul
java.lang.Object
gameelement.soul.BaseSoul
gameelement.soul.StarloveCharmSoul
- All Implemented Interfaces:
BeAttackedAble
Starlove Charm soul with random HP and Starlove Charm weakness.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intGenerates HP for a Starlove Charm 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
-
StarloveCharmSoul
public StarloveCharmSoul()Creates a Starlove Charm soul with randomized HP.
-
-
Method Details
-
randomizeStarloveSoulHP
public static int randomizeStarloveSoulHP()Generates HP for a Starlove Charm soul.- Returns:
- random HP in the Starlove Charm range
-