Exemplo n.º 1
0
 public Attack()
 {
     speed          = 10;
     cooldown       = 20;
     currepeat      = 0;
     curcooldown    = 0;
     drawshot       = 0;
     duration       = 500;
     inaccuracy     = 0;
     spread         = 0;
     projcount      = 1;
     random         = new ZigguratGaussianSampler();
     handleexpire  += delegate(Projectile pro, Mob mob) { return; };
     handlecollide += delegate(Projectile pro, Mob mob) { return; };
     handletick    += delegate(Projectile pro) { return; };
 }
Exemplo n.º 2
0
 public Attack()
 {
     speed = 10;
     cooldown = 20;
     currepeat = 0;
     curcooldown = 0;
     drawshot = 0;
     duration = 500;
     inaccuracy = 0;
     spread = 0;
     projcount = 1;
     random = new ZigguratGaussianSampler();
     handleexpire += delegate(Projectile pro, Mob mob) { return; };
     handlecollide += delegate(Projectile pro, Mob mob) { return; };
     handletick += delegate(Projectile pro) { return; };
 }