本文整理了Java中com.badlogic.gdx.scenes.scene2d.ui.Label.setVisible()
方法的一些代码示例,展示了Label.setVisible()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Label.setVisible()
方法的具体详情如下:
包路径:com.badlogic.gdx.scenes.scene2d.ui.Label
类名称:Label
方法名:setVisible
暂无
代码示例来源:origin: peakgames/libgdx-stagebuilder
@Override
public void setVisible(boolean visible) {
super.setVisible(visible);
shadowLabel.setVisible(visible);
}
代码示例来源:origin: yichen0831/Bomberman_libGdx
private void handleInput() {
if (Gdx.input.isKeyJustPressed(Input.Keys.F)) {
showFPS = !showFPS;
fpsLabel.setVisible(showFPS);
}
}
代码示例来源:origin: kbz/SIFTrain
abModeChooser.setText("Game Mode (Tap to change): " + modes[GlobalConfiguration.playbackMode]);
aLabel.setVisible(GlobalConfiguration.playbackMode.equals(SongUtils.GAME_MODE_ABREPEAT));
aSlider.setVisible(GlobalConfiguration.playbackMode.equals(SongUtils.GAME_MODE_ABREPEAT));
bLabel.setVisible(GlobalConfiguration.playbackMode.equals(SongUtils.GAME_MODE_ABREPEAT));
bSlider.setVisible(GlobalConfiguration.playbackMode.equals(SongUtils.GAME_MODE_ABREPEAT));
代码示例来源:origin: langurmonkey/gaiasky
pointerXCoord.setVisible(GlobalConf.program.DISPLAY_POINTER_COORDS);
pointerYCoord = new OwnLabel("", skin, "default");
pointerYCoord.setAlignment(Align.right | Align.center);
pointerYCoord.setVisible(GlobalConf.program.DISPLAY_POINTER_COORDS);
代码示例来源:origin: langurmonkey/gaiasky
case DISPLAY_POINTER_COORDS_CMD:
Boolean display = (Boolean) data[0];
pointerXCoord.setVisible(display);
pointerYCoord.setVisible(display);
break;
case POPUP_MENU_FOCUS:
代码示例来源:origin: yichen0831/Bomberman_libGdx
xLabel.setVisible(GameManager.playerKickBomb);
zLabel.setVisible(GameManager.playerRemoteBomb);
代码示例来源:origin: kbz/SIFTrain
aLabel.setVisible(GlobalConfiguration.playbackMode != null && GlobalConfiguration.playbackMode.equals(SongUtils.GAME_MODE_ABREPEAT));
bLabel = new Label("End Time: " + String.format("%.2f", newBPosition), Assets.menuSkin);
bLabel.setVisible(GlobalConfiguration.playbackMode != null && GlobalConfiguration.playbackMode.equals(SongUtils.GAME_MODE_ABREPEAT));
代码示例来源:origin: yichen0831/Bomberman_libGdx
fpsLabel.setFontScale(0.3f);
fpsLabel.setPosition(16 * SCALE, -0.8f * SCALE);
fpsLabel.setVisible(showFPS);
代码示例来源:origin: gearvrf/GearVRf-Demos
Label l = new Label("Rotate X", skin);
table.add(l);
l.setVisible(false);
l.setVisible(false);
table.add(l);
Label l2 = new Label("Rotate Z", skin);
table.add(l2);
l2.setVisible(false);
代码示例来源:origin: yichen0831/Bomberman_libGdx
lastSentenceLabel.setFontScale(0.8f);
lastSentenceLabel.setPosition(20f, 120f);
lastSentenceLabel.setVisible(false);
Actions.sequence(
Actions.delay(5f),
Actions.run(() -> lastSentenceLabel.setVisible(true)),
Actions.delay(5f),
Actions.fadeOut(1f),
内容来源于网络,如有侵权,请联系作者删除!