Examples of initializeInternal()


Examples of com.volantis.mcs.runtime.Volantis.initializeInternal()

                servletContext);

        // Always call the initialize method to match the behaviour of the code
        // generated by the jsp:usebean directive.
        ConfigContext cc = new ServletConfigContext(context);
        volantis.initializeInternal(pathURLMapper, cc, this);

        return volantis;
    }

    /**
 
View Full Code Here

Examples of megamek.common.Infantry.initializeInternal()

        loadEquipment(t, "Platoon", Infantry.LOC_INFANTRY);

        if (dataFile.exists("troopers")) {
            int troopers = dataFile.getDataAsInt("troopers")[0];
            t.initializeInternal(troopers, Infantry.LOC_INFANTRY);
            if (t.hasWorkingMisc(MiscType.F_TOOLS, MiscType.S_HEAVY_ARMOR)) {
                t.initializeArmor(troopers, Infantry.LOC_INFANTRY);
            }
        } else {
            t.autoSetInternal();
View Full Code Here

Examples of megamek.common.MechWarrior.initializeInternal()

            int crewSize = Math.max(1, (int) (14 + entity.getWeight()) / 15);
            MechWarrior pilot = new MechWarrior(entity);
            pilot.setChassis("Vehicle Crew");
            pilot.setDeployed(true);
            pilot.setId(getFreeEntityId());
            pilot.initializeInternal(crewSize, Infantry.LOC_INFANTRY);
            game.addEntity(pilot.getId(), pilot);
            send(createAddEntityPacket(pilot.getId()));
            // make him not get a move this turn
            pilot.setDone(true);
            // place on board
View Full Code Here

Examples of megamek.common.MechWarrior.initializeInternal()

            int crewSize = Math.max(1, (int) (14 + entity.getWeight()) / 15);
            MechWarrior pilot = new MechWarrior(entity);
            pilot.setChassis("Vehicle Crew");
            pilot.setDeployed(true);
            pilot.setId(getFreeEntityId());
            pilot.initializeInternal(crewSize, Infantry.LOC_INFANTRY);
            game.addEntity(pilot.getId(), pilot);
            send(createAddEntityPacket(pilot.getId()));
            // make him not get a move this turn
            pilot.setDone(true);
            // place on board
View Full Code Here

Examples of org.nasutekds.server.plugins.NullPlugin.initializeInternal()

    for (PluginType t : PluginType.values())
    {
      pluginTypes.add(t);
    }

    nullPlugin.initializeInternal(configuration.dn(), pluginTypes,
        configuration.isInvokeForInternalOperations());
    assertEquals(nullPlugin.getPluginEntryDN(), pluginEntryDN);
  }

View Full Code Here

Examples of org.nasutekds.server.plugins.NullPlugin.initializeInternal()

    for (PluginType t : PluginType.values())
    {
      pluginTypes.add(t);
    }

    nullPlugin.initializeInternal(configuration.dn(), pluginTypes,
        configuration.isInvokeForInternalOperations());
    assertEquals(nullPlugin.getPluginTypes(), pluginTypes);
  }

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.