Package net.itscrafted.entity

Examples of net.itscrafted.entity.Particle


 
  public static void createExplosion(double x, double y, Color c) {
    for(int i = 0; i < 10; i++) {
      double dx = Math.random() * 4 - 2;
      double dy = Math.random() * 4 - 2;
      particles.add(new Particle(x, y, dx, dy, c));
    }
    checkLimit();
  }
View Full Code Here

TOP

Related Classes of net.itscrafted.entity.Particle

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.