Examples of DropDownMenu


Examples of com.pointcliki.ui.DropDownMenu

        scene(EditorScene.class).map().quirks(quirks.value());
        return Minion.CONTINUE;
      };
    });
   
    final DropDownMenu type = new DropDownMenu(new Minion<SelectionEvent>() {
      @Override
      public long run(Dispatcher<SelectionEvent> dispatcher, String t, SelectionEvent event) {
        scene(EditorScene.class).map().type(((DropDownMenu)event.source()).value());
        return Minion.CONTINUE;
      }
    });
    type.add("Questz");
    type.add("Friendz");
    type.add("Battlez");
    type.select(scene(EditorScene.class).map().type());
    type.resize(new Vector2f(155, 24));
    type.position(new Vector2f(0, 130));
    addChild(type, 3);
   
    DropDownMenu fog = new DropDownMenu(new Minion<SelectionEvent>() {
      @Override
      public long run(Dispatcher<SelectionEvent> dispatcher, String t, SelectionEvent event) {
        scene(EditorScene.class).map().fog(((DropDownMenu)event.source()).value());
        return Minion.CONTINUE;
      }
    });
    fog.add("No Fog");
    fog.add("Fog Of War");
    fog.add("Fixed Fog");
    fog.select(scene(EditorScene.class).map().fog());
    fog.resize(new Vector2f(155, 24));
    fog.position(new Vector2f(0, 156));
    addChild(fog, 2);
   
    Button play = new Button(new Minion<SelectionEvent>() {
     
      @Override
View Full Code Here

Examples of com.pointcliki.ui.DropDownMenu

  protected Entity fTiles;

  public void init() {
    resize(new Vector2f(164, 740));
   
    fTilesetMenu = new DropDownMenu(new Minion<SelectionEvent>() {
      @Override
      public long run(Dispatcher<SelectionEvent> dispatcher, String type, SelectionEvent event) {
        updateTiles();
        return Minion.CONTINUE;
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.