be.saltwater.jaqel.creature
Class HealthPotion

java.lang.Object
  extended bybe.saltwater.jaqel.creature.Potion
      extended bybe.saltwater.jaqel.creature.HealthPotion

public class HealthPotion
extends Potion

Increases the health of a creature when it is drunken.

Author:
Robin Wittevrongel

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

HealthPotion

public HealthPotion(int points)
Method Detail

drink

public void drink(Creature c)
Specified by:
drink in class Potion

getType

public java.lang.String getType()
Specified by:
getType in class Potion