|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectbe.saltwater.jaqel.creature.Potion
be.saltwater.jaqel.creature.HealthPotion
Increases the health of a creature when it is drunken.
| Constructor Summary | |
HealthPotion(int points)
|
|
| Method Summary | |
void |
drink(Creature c)
|
java.lang.String |
getType()
|
| Methods inherited from class be.saltwater.jaqel.creature.Potion |
getLocation, getNode, getPoints, setLocation, setPotionTypeData |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HealthPotion(int points)
| Method Detail |
public void drink(Creature c)
drink in class Potionpublic java.lang.String getType()
getType in class Potion
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||