Package group24.escaperoom.ui
Class PlayerInventoryItemSlot.PlayerInventoryTarget
java.lang.Object
com.badlogic.gdx.scenes.scene2d.utils.DragAndDrop.Target
group24.escaperoom.ui.PlayerInventoryItemSlot.PlayerInventoryTarget
- Enclosing class:
- PlayerInventoryItemSlot
public class PlayerInventoryItemSlot.PlayerInventoryTarget
extends com.badlogic.gdx.scenes.scene2d.utils.DragAndDrop.Target
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandrag(com.badlogic.gdx.scenes.scene2d.utils.DragAndDrop.Source source, com.badlogic.gdx.scenes.scene2d.utils.DragAndDrop.Payload payload, float x, float y, int pointer) voiddrop(com.badlogic.gdx.scenes.scene2d.utils.DragAndDrop.Source source, com.badlogic.gdx.scenes.scene2d.utils.DragAndDrop.Payload payload, float x, float y, int pointer) voidreset(com.badlogic.gdx.scenes.scene2d.utils.DragAndDrop.Source source, com.badlogic.gdx.scenes.scene2d.utils.DragAndDrop.Payload payload) Methods inherited from class com.badlogic.gdx.scenes.scene2d.utils.DragAndDrop.Target
getActor
-
Constructor Details
-
PlayerInventoryTarget
-
-
Method Details
-
drag
public boolean drag(com.badlogic.gdx.scenes.scene2d.utils.DragAndDrop.Source source, com.badlogic.gdx.scenes.scene2d.utils.DragAndDrop.Payload payload, float x, float y, int pointer) - Specified by:
dragin classcom.badlogic.gdx.scenes.scene2d.utils.DragAndDrop.Target
-
reset
public void reset(com.badlogic.gdx.scenes.scene2d.utils.DragAndDrop.Source source, com.badlogic.gdx.scenes.scene2d.utils.DragAndDrop.Payload payload) - Overrides:
resetin classcom.badlogic.gdx.scenes.scene2d.utils.DragAndDrop.Target
-
drop
public void drop(com.badlogic.gdx.scenes.scene2d.utils.DragAndDrop.Source source, com.badlogic.gdx.scenes.scene2d.utils.DragAndDrop.Payload payload, float x, float y, int pointer) - Specified by:
dropin classcom.badlogic.gdx.scenes.scene2d.utils.DragAndDrop.Target
-