Package me.simulation.equipments
Class Potion
java.lang.Object
me.simulation.players.Champion
me.simulation.equipments.Kit
me.simulation.equipments.Potion
- All Implemented Interfaces:
DefaultRequired
Represents a Potion class
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class me.simulation.players.Champion
getHp, getLevel, getLuck, getMaxHp, getMove, getRange, getRegeneration, getShield, getStrength, getSword, getType, getX_index, getY_index, increaseLevel, newIndex, setHp, setLuck, setMaxHp, setMove, setRegeneration, setShield, setStrength, setSword, takeDMG
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface me.simulation.game.DefaultRequired
getLvl
-
Constructor Details
-
Potion
Constructs a new Potion object with the specified attributes.- Parameters:
type
- the type of the potionx_index
- the x-coordinate of the potion's positiony_index
- the y-coordinate of the potion's position
-