Class Camera

java.lang.Object
org.highlife.api.methods.input.Camera

public class Camera extends Object
  • Constructor Details

    • Camera

      public Camera()
  • Method Details

    • getCameraMode

      public static CameraMode getCameraMode()
    • setCameraMode

      public static void setCameraMode(CameraMode mode)
    • 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

      public static boolean rotateToEntity(Entity entity)
    • rotateToEntity

      public static boolean rotateToEntity(Entity entity, Condition interrupt)
    • rotateToTile

      public static boolean rotateToTile(Tile tile)
    • rotateToTile

      public static boolean rotateToTile(Tile tile, Condition interrupt)
    • rotateTo

      public static boolean rotateTo(int yaw, int pitch)
    • rotateToYaw

      public static boolean rotateToYaw(int yaw)
    • rotateToPitch

      public static boolean rotateToPitch(int pitch)
    • mouseRotateToEntity

      public static boolean mouseRotateToEntity(Entity entity)
    • mouseRotateToTile

      public static boolean mouseRotateToTile(Tile tile)
    • mouseRotateTo

      public static boolean mouseRotateTo(int yaw, int pitch)
    • mouseRotateToYaw

      public static boolean mouseRotateToYaw(int yaw)
    • mouseRotateToPitch

      public static boolean mouseRotateToPitch(int pitch)
    • keyboardRotateToEntity

      public static boolean keyboardRotateToEntity(Entity entity)
    • keyboardRotateToTile

      public static boolean keyboardRotateToTile(Tile tile)
    • keyboardRotateTo

      public static boolean keyboardRotateTo(int yaw, int pitch)
    • keyboardRotateToYaw

      public static boolean keyboardRotateToYaw(int yaw)
    • keyboardRotateToPitch

      public static boolean keyboardRotateToPitch(int pitch)
    • rotateToEntityEvent

      public static CameraEvent rotateToEntityEvent(Entity entity)
    • rotateToTileEvent

      public static CameraEvent rotateToTileEvent(Tile tile)
    • rotateToEvent

      public static CameraEvent rotateToEvent(int yaw, int pitch)
    • rotateToYawEvent

      public static CameraEvent rotateToYawEvent(int yaw)
    • rotateToPitchEvent

      public static CameraEvent rotateToPitchEvent(int pitch)
    • getYawForTile

      public static int getYawForTile(Tile tile)
    • getYawForEntity

      public static int getYawForEntity(Entity entity)
    • getPitchForTile

      public static int getPitchForTile(Tile tile)
    • getPitchForEntity

      public static int getPitchForEntity(Entity entity)
    • getMaxZoom

      public static int getMaxZoom()
    • getMinZoom

      public static int getMinZoom()