Package net.alteiar.campaign.player.plugin.external

Examples of net.alteiar.campaign.player.plugin.external.MapElementPlugin


          "impossible de charger le plugin", e1);
    }

    // mapElement builder
    mapElementPlugins = new ArrayList<MapElementPlugin>();
    mapElementPlugins.add(new MapElementPlugin(CircleElement.class, null,
        new PanelCircleBuilder(), new PanelCircleEditor()));
    mapElementPlugins.add(new MapElementPlugin(RectangleElement.class,
        null, new PanelRectangleBuilder(), new PanelRectangleEditor()));
    mapElementPlugins.add(new MapElementPlugin(
        PathfinderCharacterElement.class, null,
        new PanelCharacterBuilder(), new PanelCharacterEditor()));
    mapElementPlugins.add(new MapElementPlugin(
        PathfinderMonsterElement.class, null,
        new PanelMonsterBuilder(), null));
  }
View Full Code Here


  @Override
  public ArrayList<MapElementPlugin> getMapElements() {
    // mapElement builder
    ArrayList<MapElementPlugin> mapElementPlugins = new ArrayList<MapElementPlugin>();
    mapElementPlugins.add(new MapElementPlugin(CircleElement.class, null,
        new PanelCircleBuilder(), new PanelCircleEditor()));
    mapElementPlugins.add(new MapElementPlugin(RectangleElement.class,
        null, new PanelRectangleBuilder(), new PanelRectangleEditor()));
    mapElementPlugins.add(new MapElementPlugin(
        PathfinderCharacterElement.class, null,
        new PanelCharacterBuilder(), new PanelCharacterEditor()));
    mapElementPlugins.add(new MapElementPlugin(
        PathfinderMonsterElement.class, null,
        new PanelMonsterBuilder(), null));
    return mapElementPlugins;
  }
View Full Code Here

  }

  public <E extends MapElement> PanelMapElementEditor getMapElementEditor(
      E bean) {
    PanelMapElementEditor editor = null;
    MapElementPlugin plugin = getPlugin(bean);
    if (plugin != null) {
      editor = plugin.getEditor();
      if (editor != null) {
        editor.setMapElement(bean);
      }
    }
View Full Code Here

          "impossible de charger le plugin", e1);
    }

    // mapElement builder
    mapElementPlugins = new ArrayList<MapElementPlugin>();
    mapElementPlugins.add(new MapElementPlugin(CircleElement.class, null,
        new PanelCircleBuilder(), new PanelCircleEditor()));
    mapElementPlugins.add(new MapElementPlugin(RectangleElement.class,
        null, new PanelRectangleBuilder(), new PanelRectangleEditor()));
    mapElementPlugins.add(new MapElementPlugin(
        ShadowrunCharacterElement.class, null,
        new PanelCharacterBuilder(), new PanelCharacterEditor()));
  }
View Full Code Here

  @Override
  public ArrayList<MapElementPlugin> getMapElements() {
    // mapElement builder
    ArrayList<MapElementPlugin> mapElementPlugins = new ArrayList<MapElementPlugin>();
    mapElementPlugins.add(new MapElementPlugin(CircleElement.class, null,
        new PanelCircleBuilder(), new PanelCircleEditor()));
    mapElementPlugins.add(new MapElementPlugin(RectangleElement.class,
        null, new PanelRectangleBuilder(), new PanelRectangleEditor()));
    mapElementPlugins.add(new MapElementPlugin(
        ShadowrunCharacterElement.class, null,
        new PanelCharacterBuilder(), new PanelCharacterEditor()));
    return mapElementPlugins;
  }
View Full Code Here

TOP

Related Classes of net.alteiar.campaign.player.plugin.external.MapElementPlugin

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.