public class SpriteUtils
extends java.lang.Object
Constructor and Description |
---|
SpriteUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
setPosition(com.badlogic.gdx.graphics.g2d.Sprite sprite,
float x,
float y)
Positions the center of the sprite at the given (x,y) coordinates in world coordinates.
|