Examples of NEabstractGraphicObject


Examples of de.nameless.graphicEngine.NEabstractGraphicObject

    }   
    return result;
  }
 
  private void generateOneParticle(){
    NEabstractGraphicObject newParticle = particle.getNewParticle((float) (particleSize*(1+ ((Math.random()-0.5)*2)*particleSizeRandom)))
     
    newParticle.addAnimation(new NEArelativeMove(this.generateDirection(),(float) (this.particleSpeed * (1+ ((Math.random()-0.5)*2) * this.particleSpeedRandom)),100))
   
    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.