From 9e2ddeb55321b09086a5a27254197d783847e6e3 Mon Sep 17 00:00:00 2001 From: Leonard Kugis Date: Mon, 25 Apr 2022 18:50:36 +0200 Subject: Initial commit --- .../com/encrox/zombie/interactable/Powerup.java | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 src/main/java/com/encrox/zombie/interactable/Powerup.java (limited to 'src/main/java/com/encrox/zombie/interactable/Powerup.java') diff --git a/src/main/java/com/encrox/zombie/interactable/Powerup.java b/src/main/java/com/encrox/zombie/interactable/Powerup.java new file mode 100755 index 0000000..e1ca0d2 --- /dev/null +++ b/src/main/java/com/encrox/zombie/interactable/Powerup.java @@ -0,0 +1,22 @@ +package com.encrox.zombie.interactable; + +import org.bukkit.Location; +import org.bukkit.Material; +import org.bukkit.enchantments.Enchantment; +import org.bukkit.inventory.ItemStack; +import org.bukkit.util.BlockVector; + +public class Powerup extends Interactable { + + private ItemStack item; + + public Powerup(BlockVector bv, ItemStack item, int cost) { + super(bv, cost); + this.item = item; + } + + public ItemStack getItem() { + return item; + } + +} -- cgit v1.2.1