Package gaiasky.util.scene2d
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
ConstructorDescriptionFixedStage
(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 TypeMethodDescriptionprotected 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
-
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 classcom.badlogic.gdx.scenes.scene2d.Stage
-
isInsideViewport
protected boolean isInsideViewport(int screenX, int screenY) - Overrides:
isInsideViewport
in classcom.badlogic.gdx.scenes.scene2d.Stage
-