Package javatest.game.entities

Examples of javatest.game.entities.Exhaust


    double angle = 2 * Math.PI / numDecor;
    for (int i = 0; i < numDecor; i++) {
      double fx = Math.cos(i * angle);
      double fy = Math.sin(i * angle);
      world
          .addEntity(new Exhaust(world, x + fx * entityRadius, y + fy
              * entityRadius, fx * decorationSpeed, fy
              * decorationSpeed));
    }
  }
 
View Full Code Here

TOP

Related Classes of javatest.game.entities.Exhaust

Copyright © 2018 www.massapicom. 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.