change MapGenerator.generateMap(int seed, Vec2D size, int numberPlayers)
to
MapGenerator.generateMap(int seed, int numberPlayers, Difficulty
difficulty)