|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object wyvern.kernel.combat.DamageType wyvern.kernel.combat.damages.MagicDamage
"Magical" damage, e.g. from magic missiles.
Field Summary |
Fields inherited from class wyvern.kernel.combat.DamageType |
DAMAGE_YOU_MSGS, INANIMATE_DAMAGE_MSGS, wc_, YOU_DAMAGE_MSGS |
Constructor Summary | |
MagicDamage()
Required no-arg constructor for Class.newInstance() |
|
MagicDamage(int wc)
Constructs a new MagicDamage |
Method Summary | |
java.lang.String |
getShortName()
Returns "fire", "cold", "smash" or whatever else is used in the archetype files for this damage type. |
Methods inherited from class wyvern.kernel.combat.DamageType |
createClone, getAttackerMessages, getAttackerMessagesInanimate, getAttackerMsg, getDamageClass, getDefenderMessages, getDefenderMsg, getNegativeDamageAttackerMessage, getNegativeDamageDefenderMessage, getNoDamageAttackerMessage, getNoDamageDefenderMessage, getWC, setWC, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MagicDamage()
public MagicDamage(int wc)
Method Detail |
public java.lang.String getShortName()
getShortName
in class DamageType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |