Add Shop interface

This commit is contained in:
Len
2022-07-08 10:59:05 +02:00
parent 1167f60bbb
commit 062d898575
2 changed files with 52 additions and 1 deletions
@@ -0,0 +1,44 @@
package com.alttd.playershops.api;
import com.alttd.playershops.shop.ShopType;
import org.bukkit.Location;
import org.bukkit.inventory.ItemStack;
import java.util.UUID;
public interface Shop { // TODO finish docs
String getOwnerName();
UUID getOwnerUUID();
ShopType getType();
Location getSignLocation();
Location getContainerLocation();
String getServer();
double getPrice();
void setPrice(double price);
int getAmount();
void setAmount(int amount);
double getBalance();
void setBalance(double balance);
ItemStack getItemStack();
void setItemStack(ItemStack itemStack);
ItemStack getSecondaryItem();
void setSecondaryItem(ItemStack itemStack);
boolean isInitialized();
}