Loading...
Searching...
No Matches
Camera.java
Go to the documentation of this file.
1package com.navigine.idl.java;
2
25public final class Camera {
26
27
28 /*package*/ final Point point;
29
30 /*package*/ final float zoom;
31
32 /*package*/ final float rotation;
33
37 public Camera(
38 Point point,
39 float zoom,
40 float rotation) {
41 this.point = point;
42 this.zoom = zoom;
43 this.rotation = rotation;
44 }
45
49 public Point getPoint() {
50 return point;
51 }
52
56 public float getZoom() {
57 return zoom;
58 }
59
64 public float getRotation() {
65 return rotation;
66 }
67
68 @Override
69 public String toString() {
70 return "Camera{" +
71 "point=" + point +
72 "," + "zoom=" + zoom +
73 "," + "rotation=" + rotation +
74 "}";
75 }
76
77}