wyvern.kernel.combat.damages
Class SmashDamage

java.lang.Object
  extended bywyvern.kernel.combat.DamageType
      extended bywyvern.kernel.combat.damages.SmashDamage
All Implemented Interfaces:
MeleeDamage

public class SmashDamage
extends DamageType
implements MeleeDamage

Smash/crush damage.

Version:
1.0, Aug 23, 1999
Author:
Steve Yegge

Field Summary
 
Fields inherited from class wyvern.kernel.combat.DamageType
DAMAGE_YOU_MSGS, INANIMATE_DAMAGE_MSGS, wc_, YOU_DAMAGE_MSGS
 
Constructor Summary
SmashDamage()
          Required no-arg constructor for Class.newInstance()
SmashDamage(int wc)
          Constructs a new SmashDamage
 
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

SmashDamage

public SmashDamage()
Required no-arg constructor for Class.newInstance()


SmashDamage

public SmashDamage(int wc)
Constructs a new SmashDamage

Method Detail

getShortName

public java.lang.String getShortName()
Returns "fire", "cold", "smash" or whatever else is used in the archetype files for this damage type.

Specified by:
getShortName in class DamageType
Returns:
the damage name