Class FixedStage

java.lang.Object
com.badlogic.gdx.InputAdapter
com.badlogic.gdx.scenes.scene2d.Stage
gaiasky.util.scene2d.FixedStage
All Implemented Interfaces:
com.badlogic.gdx.InputProcessor, com.badlogic.gdx.utils.Disposable

public class FixedStage extends com.badlogic.gdx.scenes.scene2d.Stage
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.badlogic.gdx.scenes.scene2d.Stage

    com.badlogic.gdx.scenes.scene2d.Stage.TouchFocus
  • Constructor Summary

    Constructors
    Constructor
    Description
    FixedStage(int width, int height)
     
    FixedStage(com.badlogic.gdx.utils.viewport.Viewport vp, int width, int height)
     
    FixedStage(com.badlogic.gdx.utils.viewport.Viewport vp, com.badlogic.gdx.graphics.g2d.SpriteBatch batch, int width, int height)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
    isInsideViewport(int screenX, int screenY)
     
    com.badlogic.gdx.math.Vector2
    stageToScreenCoordinates(com.badlogic.gdx.math.Vector2 stageCoords)
     

    Methods inherited from class com.badlogic.gdx.scenes.scene2d.Stage

    act, act, actorRemoved, addAction, addActor, addCaptureListener, addListener, addTouchFocus, calculateScissors, cancelTouchFocus, cancelTouchFocus, cancelTouchFocusExcept, clear, dispose, draw, getActionsRequestRendering, getActors, getBatch, getCamera, getDebugColor, getHeight, getKeyboardFocus, getRoot, getScrollFocus, getViewport, getWidth, hit, isDebugAll, keyDown, keyTyped, keyUp, mouseMoved, removeCaptureListener, removeListener, removeTouchFocus, screenToStageCoordinates, scrolled, setActionsRequestRendering, setDebugAll, setDebugInvisible, setDebugParentUnderMouse, setDebugTableUnderMouse, setDebugTableUnderMouse, setDebugUnderMouse, setKeyboardFocus, setRoot, setScrollFocus, setViewport, toScreenCoordinates, touchCancelled, touchDown, touchDragged, touchUp, unfocus, unfocusAll

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FixedStage

      public FixedStage(int width, int height)
    • FixedStage

      public FixedStage(com.badlogic.gdx.utils.viewport.Viewport vp, int width, int height)
    • FixedStage

      public FixedStage(com.badlogic.gdx.utils.viewport.Viewport vp, com.badlogic.gdx.graphics.g2d.SpriteBatch batch, int width, int height)
  • Method Details

    • stageToScreenCoordinates

      public com.badlogic.gdx.math.Vector2 stageToScreenCoordinates(com.badlogic.gdx.math.Vector2 stageCoords)
      Overrides:
      stageToScreenCoordinates in class com.badlogic.gdx.scenes.scene2d.Stage
    • isInsideViewport

      protected boolean isInsideViewport(int screenX, int screenY)
      Overrides:
      isInsideViewport in class com.badlogic.gdx.scenes.scene2d.Stage