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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     
    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)
     
    void
    reset(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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • 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:
      drag in class com.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:
      reset in class com.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:
      drop in class com.badlogic.gdx.scenes.scene2d.utils.DragAndDrop.Target