66
77public class ScreenControlsCamera extends Screen
88{
9- InputSelector toggleZoom = new InputSelector (Drawing .drawing .interfaceSizeX * 2 / 3 , Drawing .drawing .interfaceSizeY / 2 - 135 , 700 , 40 , "Toggle zoom" , Game .game .input .zoom );
10- InputSelector zoomIn = new InputSelector (Drawing .drawing .interfaceSizeX * 2 / 3 , Drawing .drawing .interfaceSizeY / 2 - 45 , 700 , 40 , "Zoom in" , Game .game .input .zoomIn );
11- InputSelector zoomOut = new InputSelector (Drawing .drawing .interfaceSizeX * 2 / 3 , Drawing .drawing .interfaceSizeY / 2 + 45 , 700 , 40 , "Zoom out" , Game .game .input .zoomOut );
12- InputSelector zoomAuto = new InputSelector (Drawing .drawing .interfaceSizeX * 2 / 3 , Drawing .drawing .interfaceSizeY / 2 + 135 , 700 , 40 , "Toggle automatic zoom" , Game .game .input .zoomAuto );
9+ InputSelector toggleZoom = new InputSelector (Drawing .drawing .interfaceSizeX * 2 / 3 , Drawing .drawing .interfaceSizeY / 2 - 225 , 700 , 40 , "Toggle zoom" , Game .game .input .zoom );
10+ InputSelector zoomIn = new InputSelector (Drawing .drawing .interfaceSizeX * 2 / 3 , Drawing .drawing .interfaceSizeY / 2 - 135 , 700 , 40 , "Zoom in" , Game .game .input .zoomIn );
11+ InputSelector zoomOut = new InputSelector (Drawing .drawing .interfaceSizeX * 2 / 3 , Drawing .drawing .interfaceSizeY / 2 - 45 , 700 , 40 , "Zoom out" , Game .game .input .zoomOut );
12+ InputSelector zoomAuto = new InputSelector (Drawing .drawing .interfaceSizeX * 2 / 3 , Drawing .drawing .interfaceSizeY / 2 + 45 , 700 , 40 , "Toggle automatic zoom" , Game .game .input .zoomAuto );
13+ InputSelector togglePerspective = new InputSelector (Drawing .drawing .interfaceSizeX * 2 / 3 , Drawing .drawing .interfaceSizeY / 2 + 135 , 700 , 40 , "Toggle Perspective" , Game .game .input .perspective );
14+ InputSelector cameraPitch = new InputSelector (Drawing .drawing .interfaceSizeX * 2 / 3 , Drawing .drawing .interfaceSizeY / 2 + 225 , 700 , 40 , "Third person camera tilt" , Game .game .input .tilt );
15+ InputSelector cameraZoom = new InputSelector (Drawing .drawing .interfaceSizeX * 2 / 3 , Drawing .drawing .interfaceSizeY / 2 + 315 , 700 , 40 , "Third person camera zoom" , Game .game .input .fcZoom );
1316
1417 public ScreenControlsCamera ()
1518 {
@@ -24,6 +27,9 @@ public void update()
2427 zoomIn .update ();
2528 zoomOut .update ();
2629 zoomAuto .update ();
30+ togglePerspective .update ();
31+ cameraPitch .update ();
32+ cameraZoom .update ();
2733
2834 ScreenOverlayControls .overlay .update ();
2935 }
@@ -37,6 +43,9 @@ public void draw()
3743 zoomOut .draw ();
3844 zoomIn .draw ();
3945 zoomAuto .draw ();
46+ togglePerspective .draw ();
47+ cameraPitch .draw ();
48+ cameraZoom .draw ();
4049
4150 Drawing .drawing .setInterfaceFontSize (this .titleSize );
4251 Drawing .drawing .setColor (0 , 0 , 0 );
0 commit comments