if (Greenfoot.isKeyDown("Space"))
{
if (upgraded == true)
{
if (shootLimiter > 30)
{
shootLimiter = 0;
Bullet1 11 = new Bullet1();
Bullet2 12 = new Bullet2();
Bullet3 13 = new Bullet3();
getWorld().addObject(11, getX(), getY()-30);
getWorld().addObject(12, getX(), getY()-30);
getWorld().addObject(13, getX(), getY()-30);
}
}
else if (shootLimiter > 16)
{
shootLimiter = 0;
Bullet = new Bullet();
getWorld().addObject(1, getX(), getY()-30);
}
}
}
}