@Override
    public void update(long deltaMs) {
        sinceLastSpawn += deltaMs;
        elapsed += deltaMs;
        
        if(sinceLastSpawn >= betweenSpawns) {
            int r = Application.get().getRNG().nextInt(4) + 1;
            GameSector sector = Application.get().getLogic().getGame().getSector((long)r);
            if(sector.free()) {
                r = Application.get().getRNG().nextInt(manager.getEnemyPool().size());
                sector.spawnEnemy(manager.getEnemyPool().get(r));
                sinceLastSpawn = 0;
            }
        }
    }