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