Loading...
Searching...
No Matches
Camera.java
Go to the documentation of this file.
1package com.navigine.idl.java;
2
23public final class Camera {
24
25
26 /*package*/ final Point point;
27
28 /*package*/ final float zoom;
29
30 /*package*/ final float rotation;
31
35 public Camera(
36 Point point,
37 float zoom,
38 float rotation) {
39 this.point = point;
40 this.zoom = zoom;
41 this.rotation = rotation;
42 }
43
47 public Point getPoint() {
48 return point;
49 }
50
54 public float getZoom() {
55 return zoom;
56 }
57
62 public float getRotation() {
63 return rotation;
64 }
65
66 @Override
67 public String toString() {
68 return "Camera{" +
69 "point=" + point +
70 "," + "zoom=" + zoom +
71 "," + "rotation=" + rotation +
72 "}";
73 }
74
75}