public void setPosition ( float x , float y , boolean moveParticles ) { if ( moveParticles ) { adjust = true ; adjustx -= this . x - x ; adjusty -= this . y - y ; } this . x = x ; this . y = y ; }
Set the position of this particle source