![JAR search and dependency download from the Maven repository](/logo.png)
com.uwsoft.editor.renderer.data.SpineVO 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.data;
import com.badlogic.ashley.core.Entity;
import com.uwsoft.editor.renderer.components.SpineDataComponent;
public class SpineVO extends MainItemVO {
public String animationName = "";
public String currentAnimationName = "";
public SpineVO() {
}
public SpineVO(SpineVO vo) {
super(vo);
animationName = vo.animationName;
currentAnimationName = vo.currentAnimationName;
}
@Override
public void loadFromEntity(Entity entity) {
super.loadFromEntity(entity);
SpineDataComponent spineDataComponent = entity.getComponent(SpineDataComponent.class);
animationName = spineDataComponent.animationName;
currentAnimationName = spineDataComponent.currentAnimationName;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy