wyvern.kernel.combat.parts
Class BitingHead

java.lang.Object
  extended bywyvern.kernel.combat.BodyPart
      extended bywyvern.kernel.combat.AttackingBodyPart
          extended bywyvern.kernel.combat.parts.BitingHead
All Implemented Interfaces:
Attack, MethodHookable

public class BitingHead
extends AttackingBodyPart

This body part is for wearing helmets.

Version:
1.0, Jun 08, 1998
Author:
Steve Yegge

Field Summary
 
Fields inherited from class wyvern.kernel.combat.AttackingBodyPart
dtypes_, tohit_
 
Fields inherited from class wyvern.kernel.combat.BodyPart
hitWeight_, name_, pluralName_, slots_, uniqueName_
 
Constructor Summary
BitingHead()
          Constructs a new BitingHead
BitingHead(java.lang.String uniqueName)
          Constructs a new BitingHead
 
Method Summary
 void addWCs()
          Adds any damage types for this attack.
 void setWC(int wc)
          Sets the WC.
 
Methods inherited from class wyvern.kernel.combat.AttackingBodyPart
addDamageType, addMethodHook, didDamage, getToHit, getWC, getWeaponSkill, makeClone, recomputeWCs, removeMethodHook, runMethodHook, setShowAttackerMessage, setToHit, setWC, showAttackerMessage, toString
 
Methods inherited from class wyvern.kernel.combat.BodyPart
equals, getName, getPluralName, getProbability, getSlots, getTotalAC, getUniqueName, makeSingleSlot, setName, setPluralName, setProbability, setUniqueName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BitingHead

public BitingHead()
Constructs a new BitingHead


BitingHead

public BitingHead(java.lang.String uniqueName)
Constructs a new BitingHead

Method Detail

addWCs

public void addWCs()
Adds any damage types for this attack.

Specified by:
addWCs in class AttackingBodyPart

setWC

public void setWC(int wc)
Sets the WC.

Overrides:
setWC in class AttackingBodyPart