All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Modules Pages
Camera.java
Go to the documentation of this file.
1package com.navigine.idl.java;
2
14public final class Camera {
15
16
17 /*package*/ final Point point;
18
19 /*package*/ final float zoom;
20
21 /*package*/ final float rotation;
22
26 public Camera(
27 Point point,
28 float zoom,
29 float rotation) {
30 this.point = point;
31 this.zoom = zoom;
32 this.rotation = rotation;
33 }
34
38 public Point getPoint() {
39 return point;
40 }
41
45 public float getZoom() {
46 return zoom;
47 }
48
53 public float getRotation() {
54 return rotation;
55 }
56
57 @Override
58 public String toString() {
59 return "Camera{" +
60 "point=" + point +
61 "," + "zoom=" + zoom +
62 "," + "rotation=" + rotation +
63 "}";
64 }
65
66}