Package com.googlecode.jumpnevolve.graphics.gui.container

Examples of com.googlecode.jumpnevolve.graphics.gui.container.Dialog


    selectList.addButton(new InterfaceButton(
        InterfaceFunctions.FIGURE_JUMPING_CROSS, Input.KEY_2,
        "object-pictures/figure-cross.png"));

    // Finish-Dialog erstellen
    this.finishDialog = new Dialog();
    this.finishDialog.addTextButton(InterfaceFunctions.LEVEL_EXIT,
        "Level beenden");

    // GridContainer für das Interface erstellen und setzen
    GridContainer grid = new GridContainer(3, 3);
View Full Code Here


    this.playerPosition = new PositionMarker(this, "Player",
        PositionMarker.MODUS_BOTH, Vector.ZERO, Color.red);

    // Settings-Dialog erstellen
    this.settingsDialog = new Dialog();
    this.settingsDialog.addTextField("Name");
    this.settingsDialog.addNumberSelection("Breite", 1, 100000);
    this.settingsDialog.addNumberSelection("Höhe", 1, 100000);
    this.settingsDialog.addTextField("Hintergrund");
    this.settingsDialog.addNumberSelection("Zeit", 1, 10000);
    this.settingsDialog.addNumberSelection("Zoom X", 1, 100);
    this.settingsDialog.addNumberSelection("Zoom Y", 1, 100);
    this.settingsDialog.addNumberSelection("Subarea-Breite", 1, 1000);
    this.settingsDialog.addTextButton(InterfaceFunctions.EDITOR_RELOAD,
        "Einstellungen übernehmen");
    // TODO: Maxima so in Ordnung?

    // Player-Dialog erstellen
    this.playerDialog = new Dialog();
    this.playerDialog.addPart(this.playerPosition.getDialogPart());
    this.playerDialog.addTextField("Startfigur");
    this.playerDialog.addTextField("Verfügbare Figuren");

    // Save-Dialog erstellen
    this.dataDialog = new Dialog();
    this.dataDialog.addTextField("Level laden");
    this.dataDialog.addTextField("Level speichern");
    this.dataDialog.addTextButton(InterfaceFunctions.EDITOR_LOAD, "Laden");
    this.dataDialog.addTextButton(InterfaceFunctions.EDITOR_SAVE,
        "Speichern");

    // Exit-Dialog erstellen
    this.exitDialog = new Dialog();
    this.exitDialog.addTextField("Speichern als");
    this.exitDialog.addTextButton(InterfaceFunctions.EDITOR_SAVE_AND_EXIT,
        "Speichern und beenden");
    this.exitDialog.addTextButton(
        InterfaceFunctions.EDITOR_EXIT_WITHOUT_SAVE,
View Full Code Here

TOP

Related Classes of com.googlecode.jumpnevolve.graphics.gui.container.Dialog

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.