be.saltwater.jaqel.creature
Class MagicPotion

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

public class MagicPotion
extends Potion

Increases the magic points of a Creature (when it has magic abilities) when it is drunken.

Author:
Robin Wittevrongel

Constructor Summary
MagicPotion(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

MagicPotion

public MagicPotion(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