Package org.highlife.api.methods.input
Class Camera
java.lang.Object
org.highlife.api.methods.input.Camera
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidfirePitchAndYawEvent(int pitch, int yaw) static voidfireZoomEvent(int zoom) static CameraModestatic intstatic intstatic intstatic intgetPitch()static intgetPitchForEntity(Entity entity) static intgetPitchForTile(Tile tile) static intgetX()static intgetY()static intgetYaw()static intgetYawForEntity(Entity entity) static intgetYawForTile(Tile tile) static intgetZ()static intgetZoom()static booleankeyboardRotateTo(int yaw, int pitch) static booleankeyboardRotateToEntity(Entity entity) static booleankeyboardRotateToPitch(int pitch) static booleankeyboardRotateToTile(Tile tile) static booleankeyboardRotateToYaw(int yaw) static booleanmouseRotateTo(int yaw, int pitch) static booleanmouseRotateToEntity(Entity entity) static booleanmouseRotateToPitch(int pitch) static booleanmouseRotateToTile(Tile tile) static booleanmouseRotateToYaw(int yaw) static booleanrotateTo(int yaw, int pitch) static booleanrotateToEntity(Entity entity) static booleanrotateToEntity(Entity entity, Condition interrupt) static CameraEventrotateToEntityEvent(Entity entity) static CameraEventrotateToEvent(int yaw, int pitch) static booleanrotateToPitch(int pitch) static CameraEventrotateToPitchEvent(int pitch) static booleanrotateToTile(Tile tile) static booleanrotateToTile(Tile tile, Condition interrupt) static CameraEventrotateToTileEvent(Tile tile) static booleanrotateToYaw(int yaw) static CameraEventrotateToYawEvent(int yaw) static voidsetCameraMode(CameraMode mode) static booleansetZoom(int zoomLevel)
-
Constructor Details
-
Camera
public Camera()
-
-
Method Details
-
getCameraMode
-
setCameraMode
-
getPitch
public static int getPitch() -
getYaw
public static int getYaw() -
getX
public static int getX() -
getY
public static int getY() -
getZ
public static int getZ() -
getZoom
public static int getZoom() -
getLowestPitch
public static int getLowestPitch() -
firePitchAndYawEvent
public static void firePitchAndYawEvent(int pitch, int yaw) -
fireZoomEvent
public static void fireZoomEvent(int zoom) -
setZoom
public static boolean setZoom(int zoomLevel) -
rotateToEntity
-
rotateToEntity
-
rotateToTile
-
rotateToTile
-
rotateTo
public static boolean rotateTo(int yaw, int pitch) -
rotateToYaw
public static boolean rotateToYaw(int yaw) -
rotateToPitch
public static boolean rotateToPitch(int pitch) -
mouseRotateToEntity
-
mouseRotateToTile
-
mouseRotateTo
public static boolean mouseRotateTo(int yaw, int pitch) -
mouseRotateToYaw
public static boolean mouseRotateToYaw(int yaw) -
mouseRotateToPitch
public static boolean mouseRotateToPitch(int pitch) -
keyboardRotateToEntity
-
keyboardRotateToTile
-
keyboardRotateTo
public static boolean keyboardRotateTo(int yaw, int pitch) -
keyboardRotateToYaw
public static boolean keyboardRotateToYaw(int yaw) -
keyboardRotateToPitch
public static boolean keyboardRotateToPitch(int pitch) -
rotateToEntityEvent
-
rotateToTileEvent
-
rotateToEvent
-
rotateToYawEvent
-
rotateToPitchEvent
-
getYawForTile
-
getYawForEntity
-
getPitchForTile
-
getPitchForEntity
-
getMaxZoom
public static int getMaxZoom() -
getMinZoom
public static int getMinZoom()
-