Started progress on zooming, can now use z and x keys to zoom into map.

Nothing scales correctly asides from the map itself (the boats stay in the same position).

#story[1121]
This commit is contained in:
Kusal Ekanayake
2017-08-08 19:41:51 +12:00
parent 941febaf62
commit 421ef3c65a
2 changed files with 68 additions and 0 deletions
@@ -305,9 +305,11 @@ public class GameClient {
break;
//TODO Allow a zoom in and zoom out methods
case Z: // zoom in
raceView.getGameView().zoomIn();
System.out.println("Zoom in");
break;
case X: // zoom out
raceView.getGameView().zoomOut();
System.out.println("Zoom out");
break;
}