wyvern.kernel.combat.shapes
Class NagaHydra

java.lang.Object
  extended bywyvern.kernel.combat.Body
      extended bywyvern.kernel.combat.shapes.NagaHydra
All Implemented Interfaces:
MutableProperty, PartsList, SelfExternalizable

public class NagaHydra
extends Body

A dragon without a bite (so you can add one in the archetype). Used as a Naga shape. There's probably a better way to do this.

Version:
1.0, Oct 22, 2001
Author:
Steve Yegge

Field Summary
 
Fields inherited from class wyvern.kernel.combat.Body
dist_, parts_, total_
 
Constructor Summary
NagaHydra()
           
 
Method Summary
protected  void addParts()
          Constructs a new 5-headed hydra with no legs.
 
Methods inherited from class wyvern.kernel.combat.Body
addPart, addPartFirst, addWeightedPart, chooseRandomPart, createClone, equals, find, get, getByHashcode, getParts, getTotalProbability, isEmpty, iterator, parsePartElement, parsePartProperties, parseToHit, parseWC, readData, removePart, replacePart, shouldWrite, size, toString, writeData
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NagaHydra

public NagaHydra()
Method Detail

addParts

protected void addParts()
Constructs a new 5-headed hydra with no legs. weights to the body parts.

Specified by:
addParts in class Body