@Override
 public void clicked(InputEvent event, float x, float y) {
   inventory.deselectPreviousSlot();
   inventory.m_hotbarInventory.selectSlot(index);
 }
 public void reset(DragAndDrop.Source source, DragAndDrop.Payload payload) {
   payload.getDragActor().setColor(1, 1, 1, 1);
   getActor().setColor(Color.WHITE);
   // restore selection, it was just dropped..
   inventory.selected(inventory.m_hotbarInventory.m_selectedSlot, inventory.m_hotbarInventory);
 }