Package thegame.gui

Examples of thegame.gui.SelectionMenuComponent


        add(fighterGravity, cells);
        add(fighterWeight, cells);
        add(soundMute, cells);
        add(roundCount, cells);
        add(roundTime, cells);
        optionsMenuComponent = new SelectionMenuComponent(gui, getName(), cells, SelectionMenuComponent.VERTICAL_LAYOUT);
        optionsMenuComponent.setNumCellsToDisplay(5);
    }
View Full Code Here


            public void run() {
                GameMenu.this.gui.getGameInterface().runClientMode();
            }
        }, null);

        root_menu = new SelectionMenuComponent(gui, "Main Menu", menu);
        play_menu = new SelectionMenuComponent(gui, "Play Menu", root_menu, menu_play);
    }
View Full Code Here

                            }
                        }));
                    }
                }
            }
            player_selection_menu = new SelectionMenuComponent(gui, null, character_selection_menu, SelectionMenuComponent.HORIZONTAL_LAYOUT | SelectionMenuComponent.VERTICAL_LAYOUT);
        }
        gui.getMenu_handler().setCurrent(player_selection_menu);
    }
View Full Code Here

                    currentValue = defaultValue;
                }
            };
            GameMenuElement._addToMenu(options.gui, menu, v.toString(), validate, invalidate);
        }
        return new SelectionMenuComponent(options.gui, name, parent, menu, SelectionMenuComponent.VERTICAL_LAYOUT);
    }
View Full Code Here

            public void run() {
                FieldAction.this.currentValue = validate.execute();
            }
        }, null);
        return new SelectionMenuComponent(options.gui, name, parent, menu, SelectionMenuComponent.VERTICAL_LAYOUT);
    }
View Full Code Here

        l.add(new SelectionMenuCell(this, "restart game", new Runnable() {
            public void run() {
                reset();
            }
        }, null));
        default_menu = new SelectionMenuComponent(this, SCREEN_DEFAULT, l);
        menu_handler = new SelectionMenu(default_menu);
        setGroupMonitor(new Monitor(), new Monitor());
        initGraphics((props.getDebug() & GameProperties._DEBUG_GUI) == 0);
        setProps(props);
        initLayers();
View Full Code Here

TOP

Related Classes of thegame.gui.SelectionMenuComponent

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.