com.uwsoft.editor.renderer.components.sprite.SpriteAnimationComponent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of overlap2d-runtime-libgdx Show documentation
Show all versions of overlap2d-runtime-libgdx Show documentation
overlap2d-runtime-libgdx provides functionality to load, manipulate and render scenes generated by Overlap2D.
The newest version!
package com.uwsoft.editor.renderer.components.sprite;
import java.util.HashMap;
import java.util.Map;
import com.badlogic.ashley.core.Component;
import com.badlogic.gdx.graphics.g2d.Animation;
import com.uwsoft.editor.renderer.SceneLoader;
import com.uwsoft.editor.renderer.data.FrameRange;
public class SpriteAnimationComponent implements Component {
public String animationName = "";
public int fps = 24;
public HashMap frameRangeMap = new HashMap();
public String currentAnimation;
public Animation.PlayMode playMode = Animation.PlayMode.LOOP;
}