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