Package de.yaams.maker.programm.project

Examples of de.yaams.maker.programm.project.Project


    // add db
    ExtentionManagement.add(Project.EXLOAD, new IExtension() {

      @Override
      public void work(HashMap<String, Object> objects) {
        final Project p = (Project) objects.get("project");

        // add
        DatabasePlugin.add(Type.MAP, p, "Welt", true, false);
        DatabasePlugin.add(Type.TILESET, p, "Welt", true, false);
        DatabasePlugin.add(Type.COMMONEVENT, p, "Welt", true, false);
View Full Code Here


    // add db
    ExtentionManagement.add(Project.EXLOAD, new IExtension() {

      @Override
      public void work(HashMap<String, Object> objects) {
        final Project p = (Project) objects.get("project");

        // is xp proj?
        if (!RGSSProjectHelper.is(p, true, true)) {
          return;
        }

        // add folders?
        if (!p.getCache().containsKey("check.folder")) {

          RTP.checkCreateGraphicAudioFolder(p);
          p.getCache().put("check.folder", true);
        }

        // add rb?
        if (!p.getCache().containsKey("database.rgss")) {
          // and addon
          if (RGSSProjectHelper.is(p, true, false)) {
            RGSSProjectHelper.getInterpreter(p).interpretInternFile(getClass(), "color.rb");
            RGSSProjectHelper.getInterpreter(p).interpretInternFile(getClass(), "tone.rb");
          }

          p.getCache().put("database.rgss", true);
        }

        // add
        add(Type.ACTOR, p, "Held", true, false);
        add(Type.CLASS, p, "Held", true, false);
        add(Type.SKILL, p, "Held", true, false);
        add(Type.ITEM, p, "Gegenstände", true, false);
        add(Type.WEAPON, p, "Gegenstände", true, false);
        add(Type.ARMOR, p, "Gegenstände", true, false);
        add(Type.ENEMY, p, "Feinde", true, false);
        add(Type.TROOP, p, "Feinde", true, false);
        add(Type.STATUS, p, "Held", true, false);
        add(Type.ANIMATION, p, BasicObjectManager.GRANOTHER, true, false);

        // add ress
        // check to add
        if (RGSSProjectHelper.is(p, true, true) && !p.getObjects().containsKey(RGSSRessourceTab.ID)) {
          p.addObjManager(new RessourceObjectManager(), RGSSRessourceTab.ID);
        }
      }
    });
  }
View Full Code Here

TOP

Related Classes of de.yaams.maker.programm.project.Project

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.