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