Merge branch 'master' of https://git.ngb.schule/Tim/Zoelda
This commit is contained in:
@@ -1,13 +1,16 @@
|
|||||||
package main.items;
|
package main.items;
|
||||||
//TODO:Hier soll die Item Oberklasse entstehen
|
//TODO:Hier soll die Item Oberklasse entstehen
|
||||||
public class Item {
|
public class Item {
|
||||||
|
private String icon;
|
||||||
|
|
||||||
|
public Item(String iconPath){
|
||||||
|
icon=iconPath;
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* TODO:
|
* Gibt den Pfad zu dem Icon dieses Items an.
|
||||||
* @return
|
* @return String, der den Pfad des Icons dieses Items beschreibt
|
||||||
*/
|
*/
|
||||||
public String getIconPath(){
|
public String getIconPath(){
|
||||||
// TODO:
|
return icon;
|
||||||
return "";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
BIN
Zoelda/src/res/images/Inventar.png
Normal file
BIN
Zoelda/src/res/images/Inventar.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 116 B |
Reference in New Issue
Block a user