merged old and new PolygonRegionLoader#1665
merged old and new PolygonRegionLoader#1665badlogic merged 1 commit intolibgdx:masterfrom dermetfan:master
Conversation
|
Curious, why would that break the API? |
merged old and new PolygonRegionLoader
|
Some people might have used the old PolygonRegionLoader. Like for example the new PolgyonRegionLoader originally did. Since I wrote it for libgdx-utils, I couldn't just merge it with the existing one. If anyone did something similiar, it's now broken. |
|
I probably would have left it in its original location. Then it wouldn't have broken anything for anyone. |
|
On 09.04.14 22:57, MobiDevelop wrote:
|
|
Keeping an AssetLoader in graphics.g2d instead of assets.loaders does not seem right to me though. That would mess things up IMO |
|
On 09.04.14 22:59, Robin S wrote:
|
|
Why is that? The TiledMap loaders are in the maps package. |
|
@badlogic, moving it there won't be enough. It also needs a non-arg constructor like the old PolygonRegionLoader had. |
|
To me, it depends on whether the loader is strictly for use with the AssetManager. The map loaders, and this loader are not, so they belong in the respective package (in my opinion). |
|
Fair enough. That's also a reasonable guideline. |
Didn't want to break API with my second PR, but since you agreed in #1602, I do it in the third.