Package com.prineside.tdi2.ui.components
Class DraggingItemHelper
java.lang.Object
com.prineside.tdi2.ui.components.DraggingItemHelper
- All Implemented Interfaces:
Disposable,Listener<Render>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()Releases all resources of this object.voidhandleEvent(Render event) voidhide()voidsetIconShift(float x, float y) voidsetIconShiftInstantly(float x, float y) voidsetPosition(float x, float y) voidsetScale(float scale) voidsetScaleInstantly(float scale) show()
-
Constructor Details
-
DraggingItemHelper
-
-
Method Details
-
show
-
getIconContainer
-
hide
public void hide() -
setPosition
public void setPosition(float x, float y) -
setScale
public void setScale(float scale) -
setScaleInstantly
public void setScaleInstantly(float scale) -
setIconShift
public void setIconShift(float x, float y) -
setIconShiftInstantly
public void setIconShiftInstantly(float x, float y) -
dispose
public void dispose()Description copied from interface:com.badlogic.gdx.utils.DisposableReleases all resources of this object.- Specified by:
disposein interfaceDisposable
-
handleEvent
- Specified by:
handleEventin interfaceListener<Render>
-