Interface IGameAPI


  • public interface IGameAPI
    • Method Detail

      • getGameTick

        int getGameTick()
      • getGameCycle

        int getGameCycle()
      • getRootGUIWidgetIndex

        int getRootGUIWidgetIndex()
      • getSceneX

        int getSceneX()
      • getSceneY

        int getSceneY()
      • getPlane

        int getPlane()
      • getSceneTile

        Tile getSceneTile()
      • getSceneTiles

        Tile[][][] getSceneTiles()
      • getSceneId

        int getSceneId()
      • getCenterSceneTile

        Tile getCenterSceneTile()
      • isResizableMode

        boolean isResizableMode()
      • isHideRoofsEnabled

        boolean isHideRoofsEnabled()
      • getViewport

        java.awt.Rectangle getViewport()
      • getViewportZoom

        int getViewportZoom()
      • getViewportWidth

        int getViewportWidth()
      • getViewportHeight

        int getViewportHeight()
      • getInstanceTemplateChunks

        int[][][] getInstanceTemplateChunks()
      • logout

        boolean logout()
      • takeScreenshot

        void takeScreenshot()
                     throws java.io.IOException
        Takes a screenshot and saves it to the /EpicBot/Screenshots folder.
        Throws:
        java.io.IOException
      • takeScreenshot

        void takeScreenshot​(java.io.File file)
                     throws java.io.IOException
        Takes a screenshot and saves it to given file location.
        Parameters:
        file - screenshot file location
        Throws:
        java.io.IOException