com.badlogic.gdx.scenes.scene2d.utils
Class DragAndDrop.Source
java.lang.Object
com.badlogic.gdx.scenes.scene2d.utils.DragAndDrop.Source
- Enclosing class:
- DragAndDrop
public abstract static class DragAndDrop.Source
- extends Object
A target where a payload can be dragged from.
- Author:
- Nathan Sweet
DragAndDrop.Source
public DragAndDrop.Source(Actor actor)
dragStart
public abstract DragAndDrop.Payload dragStart(InputEvent event,
float x,
float y,
int pointer)
- Returns:
- May be null.
dragStop
public void dragStop(InputEvent event,
float x,
float y,
int pointer,
DragAndDrop.Target target)
- Parameters:
target
- null if not dropped on a valid target.
getActor
public Actor getActor()
Copyright © 2013. All Rights Reserved.