Klasse Potion

java.lang.Object
com.botwAdventureOnline.Item
com.botwAdventureOnline.Potion
Alle implementierten Schnittstellen:
Serializable
Bekannte direkte Unterklassen:
ExperiencePotion, HealthPotion

public class Potion extends Item
Siehe auch:
  • Konstruktordetails

    • Potion

      public Potion(String pName, int pValue, int pHealthPoints, int pExperiencePoints)
      Parameter:
      pName - Name of the item
      pValue - Value of the item in rupees
      pHealthPoints - Health points if the item is a Health Potion
      pExperiencePoints - Experience points if the item is an Experience Potion