public void addMeteor(){
        if(Math.random()<.05) {
            for (int x = 0; x < 1; x++) {
                int sizerandom = 0;
                int spawnx = 0;
                int spawny = 0;
                boolean inSpawnzone = false;
                do {
                    sizerandom = (int) (Math.random() * 100) + 20;
                    spawnx = (int) (Math.random() * (mapsize + mapsize / 4));
                    spawny = (int) (Math.random() * (mapsize + mapsize / 2)) - mapsize / 4 - mapsize / 2;
                    inSpawnzone = collision(spawnx - sizerandom / 2, spawny - sizerandom / 2, sizerandom, sizerandom, 0, -mapsize / 2, mapsize, mapsize);

                } while (inSpawnzone);

                objects.add(new Asteroid(spawnx, spawny, sizerandom, sizerandom, objects, lasers));
                ;
            }
        }
    }