本文整理了Java中com.badlogic.gdx.scenes.scene2d.Stage.clear()
方法的一些代码示例,展示了Stage.clear()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Stage.clear()
方法的具体详情如下:
包路径:com.badlogic.gdx.scenes.scene2d.Stage
类名称:Stage
方法名:clear
[英]Removes the root's children, actions, and listeners.
[中]删除根的子级、操作和侦听器。
代码示例来源:origin: libgdx/libgdx
public void dispose () {
clear();
if (ownsBatch) batch.dispose();
}
代码示例来源:origin: libgdx/libgdx
public void dispose () {
clear();
if (ownsBatch) batch.dispose();
}
代码示例来源:origin: langurmonkey/gaiasky
@Override
protected void rebuildGui() {
if (ui != null) {
ui.clear();
if (debugInterface != null)
ui.addActor(debugInterface);
}
}
代码示例来源:origin: com.badlogicgames.gdx/gdx
public void dispose () {
clear();
if (ownsBatch) batch.dispose();
}
代码示例来源:origin: stackoverflow.com
curStage .clear();
代码示例来源:origin: langurmonkey/gaiasky
protected void rebuildGui() {
if (ui != null) {
ui.clear();
ui.addActor(mainTable);
ui.addActor(messagesInterface);
}
}
代码示例来源:origin: langurmonkey/gaiasky
protected void rebuildGui() {
if (ui != null) {
ui.clear();
if (notificationsOne != null)
ui.addActor(notificationsOne);
if (notificationsTwo != null)
ui.addActor(notificationsTwo);
}
}
代码示例来源:origin: langurmonkey/gaiasky
public void clearGui() {
if (ui != null) {
ui.clear();
}
if (ddw != null) {
ddw.remove();
}
if (cdw != null) {
cdw.remove();
}
}
代码示例来源:origin: langurmonkey/gaiasky
public void rebuildGui() {
if (ui != null) {
ui.clear();
ui.addActor(screenMode);
ui.addActor(center);
ui.addActor(bottom);
}
}
代码示例来源:origin: langurmonkey/gaiasky
public void rebuildGui() {
if (ui != null) {
ui.clear();
if (debugInterface != null) {
ui.addActor(debugInterface);
}
if (notificationsInterface != null) {
ui.addActor(notificationsInterface);
}
if (messagesInterface != null) {
ui.addActor(messagesInterface);
}
if (focusInterface != null) {
ui.addActor(focusInterface);
}
if (inputInterface != null) {
ui.addActor(inputInterface);
}
}
}
代码示例来源:origin: langurmonkey/gaiasky
public void rebuildGui() {
if (ui != null) {
ui.clear();
if (debugInterface != null) {
ui.addActor(debugInterface);
}
if (notificationsInterface != null) {
ui.addActor(notificationsInterface);
}
if (messagesInterface != null) {
ui.addActor(messagesInterface);
}
if (focusInterface != null) {
ui.addActor(focusInterface);
}
if (inputInterface != null) {
ui.addActor(inputInterface);
}
}
}
代码示例来源:origin: langurmonkey/gaiasky
protected void rebuildGui() {
if (ui != null) {
ui.clear();
ui.addActor(buttonContainer);
ui.addActor(engineGroup);
代码示例来源:origin: langurmonkey/gaiasky
protected void rebuildGui() {
ui.clear();
boolean collapsed = false;
if (controlsWindow != null) {
内容来源于网络,如有侵权,请联系作者删除!