public abstract class TextScreen extends AbstractTextScreen<com.badlogic.gdx.graphics.Color>
AbstractTextScreen
tuned for libgdx
Color
. It uses a GroupCombinedPanel
for display.
Here's an example of this class in action:
AbstractTextScreen
AbstractSquidScreen.SquidScreenInput<T>
Modifier and Type | Field and Description |
---|---|
protected GroupCombinedPanel<com.badlogic.gdx.graphics.Color> |
gcp |
alignment, text
colorCenter, disposed, ipb, resized, sizeManager, stage
Constructor and Description |
---|
TextScreen(AbstractSquidScreen.SquidScreenInput<com.badlogic.gdx.graphics.Color> si,
List<squidpony.panel.IColoredString<com.badlogic.gdx.graphics.Color>> text,
int[] alignment)
|
Modifier and Type | Method and Description |
---|---|
void |
render(float delta) |
init, toIntArray, toString, wrap
buildScreenWideSquidPanel, buildScreenWideSquidPanel, buildSquidPanel, buildSquidPanel, buildStage, clearScreen, dispose, disposeAtResize, getClearingColor, getNext, getPanelbuilder, hasPendingResize, isDisposed, resize, toSquidScreenInput
protected GroupCombinedPanel<com.badlogic.gdx.graphics.Color> gcp
public TextScreen(AbstractSquidScreen.SquidScreenInput<com.badlogic.gdx.graphics.Color> si, List<squidpony.panel.IColoredString<com.badlogic.gdx.graphics.Color>> text, int[] alignment)
public void render(float delta)
render
in interface com.badlogic.gdx.Screen
render
in class com.badlogic.gdx.ScreenAdapter
Copyright © 2012–2016. All rights reserved.