public void shootshing() {
        if (waitforshoot <= 0 && shoottwice == 30) {
            getWorld().addObject(new sting(), getX(), getY());
            shoottwice--;
        }
        else if (shoottwice != 30 && shoottwice > 0) {
            shoottwice--;
        }
        else if (shoottwice <= 0) {
            getWorld().addObject(new sting(), getX(), getY());
            waitforshoot = 150;
            shoottwice = 30;
        }
        else if (waitforshoot > 0) {
            waitforshoot--;
        }
    }