Added additional debug logging for CharData item management calls

This commit is contained in:
Collin Smith 2020-05-30 20:21:35 -07:00
parent b798645f02
commit 2cecdccdd9

View File

@ -381,14 +381,17 @@ public class CharData implements ItemData.UpdateListener, Pool.Poolable {
}
public void groundToCursor(Item item) {
if (DEBUG_ITEMS) Gdx.app.log(TAG, "groundToCursor " + item);
itemData.pickup(item);
}
public void cursorToGround() {
if (DEBUG_ITEMS) Gdx.app.log(TAG, "cursorToGround");
itemData.drop();
}
public void itemToCursor(int i) {
if (DEBUG_ITEMS) Gdx.app.log(TAG, "itemToCursor " + i);
itemData.pickup(i);
}