From 9e2ddeb55321b09086a5a27254197d783847e6e3 Mon Sep 17 00:00:00 2001 From: Leonard Kugis Date: Mon, 25 Apr 2022 18:50:36 +0200 Subject: Initial commit --- .../encrox/zombie/interactable/Interactable.java | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 src/main/java/com/encrox/zombie/interactable/Interactable.java (limited to 'src/main/java/com/encrox/zombie/interactable/Interactable.java') 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; + } + +} -- cgit v1.2.1