games.rednblack.h2d.extension.bvb.BVBSystem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of libgdx-bvb-extension Show documentation
Show all versions of libgdx-bvb-extension Show documentation
BVB Animation extension for HyperLap2D libgdx runtime
The newest version!
package games.rednblack.h2d.extension.bvb;
import com.artemis.ComponentMapper;
import com.artemis.annotations.All;
import games.rednblack.h2d.extension.spine.SpineComponent;
import games.rednblack.h2d.extension.spine.SpineSystem;
@All({SpineComponent.class})
public class BVBSystem extends SpineSystem {
protected ComponentMapper bvbCM;
@Override
protected void process(int entity) {
super.process(entity);
BVBComponent bvbComponent = bvbCM.get(entity);
if (bvbComponent == null) return;
bvbComponent.skeletonContainer.update(world.getDelta());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy