spellcast.damage
Class Damage

java.lang.Object
  extended by spellcast.damage.Damage

public class Damage
extends java.lang.Object

Damage is the main way to kill a Being. Damage comes in a variety of flavours which may be resisted.

Author:
Barrie Treloar

Constructor Summary
Damage(DamageType type_, int value_)
           
 
Method Summary
 DamageType getType()
           
 int getValue()
           
 void setType(DamageType type_)
           
 void setValue(int value_)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Damage

public Damage(DamageType type_,
              int value_)
Method Detail

getType

public DamageType getType()

setType

public void setType(DamageType type_)

getValue

public int getValue()

setValue

public void setValue(int value_)


Copyright © 2001-2005 Spellcast. All Rights Reserved.