Package boids

Examples of boids.Boid


      else if(e.getSource() == BoidButton)
      {
        double x = Math.random()*3200;
        double y = Math.random()*1800;
        for(int i=0;i<num;i++)
        sim.add(new Boid(x,y));
      }
      else if(e.getSource() == BeeButton)
      {
        for(int i=0;i<num;i++)
        sim.add(new Bee(Math.random()*3200,
 
View Full Code Here

TOP

Related Classes of boids.Boid

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.