the method sprayParticle' is added
the method 'gravity' is added