12
0

add direct setCallback method

Dieser Commit ist enthalten in:
Lixfel 2019-06-04 17:24:26 +02:00
Ursprung 89c4ca9e47
Commit b3dc01bdb3

Datei anzeigen

@ -66,6 +66,10 @@ public class SWInventory implements Listener, Inventory {
setItem(pos, item);
}
public void setCallback(int pos, InvCallback c){
callbacks.put(pos, c);
}
public void open(){
player.openInventory(this);
}