public abstract class Screen extends Container
Component.Alignment
Modifier and Type | Field and Description |
---|---|
protected Screen |
parent |
components
Modifier and Type | Method and Description |
---|---|
abstract void |
onActivate(Component comp,
java.lang.String id) |
abstract void |
onEnter() |
abstract void |
onExit() |
boolean |
playEnterAnim(Input in,
float delta) |
boolean |
playExitAnim(Input in,
float delta) |
protected void |
renderI(Graphics g,
Input in,
float x,
float y,
float width,
float height) |
protected abstract void |
renderS(Graphics g,
Input in,
float x,
float y,
float width,
float height) |
void |
tickI(Input in,
AudioEngine ae,
float delta,
float x,
float y,
float width,
float height) |
protected abstract void |
tickS(Input in,
AudioEngine ae,
float delta,
float x,
float y,
float width,
float height) |
addComponent, getComponents, isActivated, posFromPercent, renderOverlayI, setBackground
protected Screen parent
public Screen(Screen parent)
public abstract void onEnter()
public abstract void onExit()
public abstract void onActivate(Component comp, java.lang.String id)
onActivate
in class Container
protected abstract void tickS(Input in, AudioEngine ae, float delta, float x, float y, float width, float height)
protected abstract void renderS(Graphics g, Input in, float x, float y, float width, float height)
public void tickI(Input in, AudioEngine ae, float delta, float x, float y, float width, float height)
public boolean playEnterAnim(Input in, float delta)
public boolean playExitAnim(Input in, float delta)