From d6acbbec295694ad439e20b0fcec1447550d16ad Mon Sep 17 00:00:00 2001 From: Artem Didytschuk Date: Mon, 28 Jun 2021 08:23:55 +0200 Subject: [PATCH 1/2] Items lil bit --- Zoelda/src/main/items/Item.java | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Zoelda/src/main/items/Item.java b/Zoelda/src/main/items/Item.java index f7b665e..5aebdd0 100644 --- a/Zoelda/src/main/items/Item.java +++ b/Zoelda/src/main/items/Item.java @@ -1,13 +1,16 @@ package main.items; //TODO:Hier soll die Item Oberklasse entstehen public class Item { + private String icon; + public Item(String iconPath){ + icon=iconPath; + } /** - * TODO: - * @return + * Gibt den Pfad zu dem Icon dieses Items an. + * @return String, der den Pfad des Icons dieses Items beschreibt */ public String getIconPath(){ - TODO: - return ""; + return icon; } } From a0abdd8aa853f5a323c05da5f14b927eff107776 Mon Sep 17 00:00:00 2001 From: "Malin.Sieckmann" Date: Mon, 28 Jun 2021 08:59:32 +0200 Subject: [PATCH 2/2] Adding inventar picture 1st test --- Zoelda/src/res/images/Inventar.png | Bin 0 -> 116 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 Zoelda/src/res/images/Inventar.png diff --git a/Zoelda/src/res/images/Inventar.png b/Zoelda/src/res/images/Inventar.png new file mode 100644 index 0000000000000000000000000000000000000000..05d6bf51783d609212e3726645412523b8f4a6c5 GIT binary patch literal 116 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`)}AhoAr`&K9VgfSn1AzvuUJ{H z*U$44ZeI9X|7cRF=#vK%_N)qIcH@;WZOCHV;kNV-|H;)#+`EAcc7{3IBBc-3)O7-l OVeoYIb6Mw<&;$Tt&ME)^ literal 0 HcmV?d00001