Examples of NEALiefeTimeAnimation


Examples of de.nameless.graphicEngine.animation.lib.NEALiefeTimeAnimation

    if(particleRotationRamdom + particleRotationSpeed != 0){
      newParticle.addAnimation(new NEArelative2DRotation(5000,(float) (particleRotationSpeed * (1+ ((Math.random()-0.5)*2) * particleRotationRamdom))));
    }
   
    if(this.particleLifeTime!= 0){
      newParticle.addAnimation(new NEALiefeTimeAnimation((float) (this.particleLifeTime * (1+ ((Math.random()-0.5)*2) *particleLifeTimeRandom  ))) );
    }
   
    this.holdingServer.addGraphicObject(newParticle);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.