Package tech.underoaks.coldcase.stages
Class HostStage
java.lang.Object
com.badlogic.gdx.InputAdapter
com.badlogic.gdx.scenes.scene2d.Stage
tech.underoaks.coldcase.stages.AbstractStage
tech.underoaks.coldcase.stages.HostStage
- All Implemented Interfaces:
com.badlogic.gdx.InputProcessor,com.badlogic.gdx.Screen,com.badlogic.gdx.utils.Disposable
The HostStage is a screen in the game where the host player can start a session,
view the session ID, and manage the connection. The host will have the option to start the game
and manage the session ID.
This screen extends
AbstractStage.-
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 -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildStage(com.badlogic.gdx.InputMultiplexer inputMultiplexer) Builds the current StagevoidsetSessionIDField(String sessionID) Sets the ID of the current SessionMethods inherited from class tech.underoaks.coldcase.stages.AbstractStage
hide, keyDown, onConnected, onDisconnected, pause, render, resize, resume, showMethods 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, isInsideViewport, keyTyped, keyUp, mouseMoved, removeCaptureListener, removeListener, removeTouchFocus, screenToStageCoordinates, scrolled, setActionsRequestRendering, setDebugAll, setDebugInvisible, setDebugParentUnderMouse, setDebugTableUnderMouse, setDebugTableUnderMouse, setDebugUnderMouse, setKeyboardFocus, setRoot, setScrollFocus, setViewport, stageToScreenCoordinates, toScreenCoordinates, touchCancelled, touchDown, touchDragged, touchUp, unfocus, unfocusAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.badlogic.gdx.Screen
dispose
-
Constructor Details
-
HostStage
public HostStage()
-
-
Method Details
-
buildStage
public void buildStage(com.badlogic.gdx.InputMultiplexer inputMultiplexer) Description copied from class:AbstractStageBuilds the current Stage- Specified by:
buildStagein classAbstractStage- Parameters:
inputMultiplexer- Delegates to an ordered list of other InputProcessors
-
setSessionIDField
Sets the ID of the current Session- Parameters:
sessionID- ID of the current Session
-