add 'reloadTheme' method

This commit is contained in:
Hannes Janetzek
2013-07-08 11:49:18 +02:00
parent 7229d8d596
commit 632ef15dc4
2 changed files with 23 additions and 17 deletions

View File

@@ -265,6 +265,11 @@ public class GdxMap implements ApplicationListener, MapRenderCallback {
break;
case Input.Keys.R:
mMapLayer.reloadTheme();
mMapView.updateMap(false);
break;
case Input.Keys.D:
mMapLayer.setRenderTheme(InternalRenderTheme.DEFAULT);
mMapView.updateMap(false);
break;