summaryrefslogtreecommitdiff
path: root/src/main/java/com/encrox/zombie/interactable/Interactable.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/encrox/zombie/interactable/Interactable.java')
-rwxr-xr-xsrc/main/java/com/encrox/zombie/interactable/Interactable.java23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/main/java/com/encrox/zombie/interactable/Interactable.java b/src/main/java/com/encrox/zombie/interactable/Interactable.java
new file mode 100755
index 0000000..9bc4dc3
--- /dev/null
+++ b/src/main/java/com/encrox/zombie/interactable/Interactable.java
@@ -0,0 +1,23 @@
+package com.encrox.zombie.interactable;
+
+import org.bukkit.util.BlockVector;
+
+public abstract class Interactable {
+
+ private BlockVector bv;
+ private int cost;
+
+ public Interactable(BlockVector bv, int cost) {
+ this.bv = bv;
+ this.cost = cost;
+ }
+
+ public int getCost() {
+ return cost;
+ }
+
+ public BlockVector getBlockVector() {
+ return bv;
+ }
+
+}