Skip to main content

ParticleProvider

This attribute is used to mark the particle factory build method.

This annotation should be used with @ParticleReg

This method should be placed in the particle class and be static. This method must have a SpriteProvider parameter and return a ParticleFactory.

@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface ParticleProvider {
}