All Downloads are FREE. Search and download functionalities are using the official Maven repository.

games.rednblack.h2d.extension.bvb.BVBSystem Maven / Gradle / Ivy

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