Package com.prineside.tdi2.ui.components
Class DraggingItemHelper
java.lang.Object
com.prineside.tdi2.ui.components.DraggingItemHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Releases all resources of this object.com.badlogic.gdx.scenes.scene2d.Group
void
handleEvent
(Render event) void
hide()
void
setIconShift
(float x, float y) void
setIconShiftInstantly
(float x, float y) void
setPosition
(float x, float y) void
setScale
(float scale) void
setScaleInstantly
(float scale) com.badlogic.gdx.scenes.scene2d.Group
show()
-
Constructor Details
-
DraggingItemHelper
-
-
Method Details
-
show
public com.badlogic.gdx.scenes.scene2d.Group show() -
getIconContainer
public com.badlogic.gdx.scenes.scene2d.Group 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.Disposable
Releases all resources of this object.- Specified by:
dispose
in interfacecom.badlogic.gdx.utils.Disposable
-
handleEvent
- Specified by:
handleEvent
in interfaceListener<Render>
-