libGDX level zoom with keys, fixes #154
This commit is contained in:
parent
b18dae5bef
commit
33b68fd0d6
@ -96,9 +96,11 @@ public class InputHandler implements InputProcessor {
|
|||||||
break;
|
break;
|
||||||
case Input.Keys.NUM_1:
|
case Input.Keys.NUM_1:
|
||||||
mMap.animator().animateZoom(500, 0.5, 0, 0);
|
mMap.animator().animateZoom(500, 0.5, 0, 0);
|
||||||
|
mMap.updateMap(false);
|
||||||
break;
|
break;
|
||||||
case Input.Keys.NUM_2:
|
case Input.Keys.NUM_2:
|
||||||
mMap.animator().animateZoom(500, 2, 0, 0);
|
mMap.animator().animateZoom(500, 2, 0, 0);
|
||||||
|
mMap.updateMap(false);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Input.Keys.D:
|
case Input.Keys.D:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user