|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectspellcast.damage.Damage
public class Damage
Damage is the main way to kill a Being. Damage comes in a variety of flavours which may be resisted.
| 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 |
|---|
public Damage(DamageType type_,
int value_)
| Method Detail |
|---|
public DamageType getType()
public void setType(DamageType type_)
public int getValue()
public void setValue(int value_)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||