private static Map<Class<? extends Entity>, Integer> getEntitiesConf(
            List<AnimalQuantite> animalsList2) {
        Map<Class<? extends Entity>, Integer> entitiesConf = new HashMap<>();
        for (AnimalQuantite animalQuantite : animalsList2) {
            Class<? extends Entity> entityClass = null;
            switch (animalQuantite.getName()) {
            case CTHULI:
                entityClass = Cthuli.class;
                break;
            case SPIDER:
                entityClass = Spider.class;
                break;
            case ANT:
                entityClass = Ant.class;
                break;
            case HUMAN:
                entityClass = Human.class;
                break;

            }
            entitiesConf.put(entityClass, animalQuantite.getNum());
        }
        return entitiesConf;
    }