Browse Source

refactoring: buy(), loadItems(), getCurrentShopItems(), quiz()

remotes/origin/shop
Max Gerbeth 2 years ago
parent
commit
625d1ea2c2
  1. 11
      src/main/java/org/bitbiome/shop/Shop.java

11
src/main/java/org/bitbiome/shop/Shop.java

@ -3,17 +3,20 @@ package org.bitbiome.shop;
import java.util.ArrayList; import java.util.ArrayList;
public class Shop { public class Shop {
public ArrayList<Item> allItems;
public ArrayList<Item> currentShopItems;
public Shop(){ public Shop(){
} }
public boolean kaufen(){
public boolean buy(){
//ToDo //ToDo
return true; return true;
} }
private ArrayList itemsLaden(){
private ArrayList loadItems(){
//ToDo //ToDo
return null; return null;
@ -26,10 +29,10 @@ public class Shop {
} }
public ArrayList<Item> getCurrentShopItems(){ public ArrayList<Item> getCurrentShopItems(){
return null;
return currentShopItems;
} }
public void Quiz(){
public void quiz(){
//ToDo //ToDo
} }
} }
Loading…
Cancel
Save