use of com.almasb.fxgl.physics.PhysicsParticleControl in project FXGL by AlmasB.
the class GameScene method onAdded.
@Override
public void onAdded(Control control) {
if (control instanceof PhysicsParticleControl) {
PhysicsParticleControl particleControl = (PhysicsParticleControl) control;
particles.add(particleControl);
}
}
Aggregations