public boolean canShootAtThisFrame() {
        rateOfFireCounter += rateOfFirePerFrame;
        if (rateOfFireCounter >= 0) {
            rateOfFireCounter--;
            return true;
        }
        return false;
    }