Package | Description |
---|---|
com.badlogic.gdx.scenes.scene2d.utils |
Modifier and Type | Method and Description |
---|---|
void |
DragAndDrop.addSource(DragAndDrop.Source source) |
abstract boolean |
DragAndDrop.Target.drag(DragAndDrop.Source source,
DragAndDrop.Payload payload,
float x,
float y,
int pointer)
Called when the object is dragged over the target.
|
abstract void |
DragAndDrop.Target.drop(DragAndDrop.Source source,
DragAndDrop.Payload payload,
float x,
float y,
int pointer) |
void |
DragAndDrop.removeSource(DragAndDrop.Source source) |
void |
DragAndDrop.Target.reset(DragAndDrop.Source source,
DragAndDrop.Payload payload)
Called when the object is no longer over the target, whether because the touch was moved or a drop occurred.
|
Copyright © 2015. All rights reserved.