particle.js 328 B

12345678910111213
  1. var Particle = function(position){
  2. Collectible.call(this, position);
  3. this.type = "Higgs";
  4. this.mass = 125;
  5. this.charge = 0;
  6. this.start_time = 1234;
  7. this.decay_time = 4444;
  8. this.target = null;
  9. this.velocity = null;
  10. this.points = 125;
  11. this.parent_type = "W";
  12. this.decays = [{particles: ["W", "W"], probability: .3 }]
  13. }