Package eu.ha3.matmos.engine.core.interfaces

Examples of eu.ha3.matmos.engine.core.interfaces.Named


    Data dataIn, Collector collector, String minDistModule, String radiModulePrefix, int max, int... radiis)
  {
    this.collector = collector;
    this.submodules = new LinkedHashSet<String>();
   
    this.mindistModel = new ModuleProcessor(dataIn, minDistModule) {
      @Override
      protected void doProcess()
      {
      }
    };
    dataIn.getSheet(minDistModule).setDefaultValue("0");
    this.submodules.add(minDistModule);
    this.minimumDistanceReports = new HashMap<Integer, Double>();
   
    this.radiusSheets = new ModuleProcessor[radiis.length];
    this.entityCount = (Map<Integer, Integer>[]) new Map<?, ?>[radiis.length];
   
    this.radiusValuesSorted = Arrays.copyOf(radiis, radiis.length);
    Arrays.sort(this.radiusValuesSorted);
    this.maxel = this.radiusValuesSorted[this.radiusValuesSorted.length - 1] + 10;
   
    for (int i = 0; i < this.radiusValuesSorted.length; i++)
    {
      int radiNum = this.radiusValuesSorted[i];
      this.radiusSheets[i] = new ModuleProcessor(dataIn, radiModulePrefix + radiNum) {
        @Override
        protected void doProcess()
        {
        }
      };
View Full Code Here


    this.subModules.add(baseName);
    data.getSheet(baseName).setDefaultValue("0");
    if (requireThousand)
    {
      String thousandName = baseName + THOUSAND_SUFFIX;
      this.thousand = new ThousandStringCountModule(data, thousandName, true);
      this.subModules.add(thousandName);
      data.getSheet(thousandName).setDefaultValue("0");
    }
    else
    {
View Full Code Here

   
    int lineNumber = 0;
   
    if (this.scanDebug.startsWith("scan_large"))
    {
      Progress progressObject = this.dataGatherer.getLargeScanProgress();
      float progress = (float) progressObject.getProgress_Current() / progressObject.getProgress_Total();
     
      fontRenderer.drawStringWithShadow(
        "Scan ["
          + mc.theWorld.getHeight() + "]: " + StringUtils.repeat("|", (int) (100 * progress)) + " ("
          + (int) (progress * 100) + "%)", 20, 2 + 9 * lineNumber, 0xFFFFCC);
View Full Code Here

   
    //this.frequent.add(new MAtProcessorEntityDetector(
    //  this.mod, this.data, "DetectMinDist", "Detect", "_Deltas", ENTITYIDS_MAX, 2, 5, 10, 20, 50));
   
    this.largeScanner =
      new ScannerModule(
        this.data, "_POM__scan_large", "scan_large", true, 8, 20 /*256*/, 64, 32, 64, 16 * 8 * 16/*64 * 64 * 2*/);
    addModule(this.largeScanner);
    addModule(new ScannerModule(
      this.data, "_POM__scan_small", "scan_small", true, -1, 2 /*64*/, 16, 8, 16, 16 * 4 * 16));
    // Each ticks, check half of the small scan
   
    MAtLog.info("Modules initialized: " + Arrays.toString(new TreeSet<String>(this.modules.keySet()).toArray()));
  }
View Full Code Here

    this.data = new SelfGeneratingData(GenericSheet.class);
   
    addModule(new L__legacy_column(this.data));
    addModule(new L__legacy_hitscan(this.data));
    addModule(new L__legacy_random(this.data));
    addModule(new L__legacy(this.data));
    addModule(new L__meta_mod(this.data, this.mod));
    addModule(new M__cb_column(this.data));
    addModule(new M__cb_light(this.data));
    addModule(new M__cb_pos(this.data));
    addModule(new M__gui_general(this.data));
View Full Code Here

 
  public void load()
  {
    this.data = new SelfGeneratingData(GenericSheet.class);
   
    addModule(new L__legacy_column(this.data));
    addModule(new L__legacy_hitscan(this.data));
    addModule(new L__legacy_random(this.data));
    addModule(new L__legacy(this.data));
    addModule(new L__meta_mod(this.data, this.mod));
    addModule(new M__cb_column(this.data));
View Full Code Here

  public void load()
  {
    this.data = new SelfGeneratingData(GenericSheet.class);
   
    addModule(new L__legacy_column(this.data));
    addModule(new L__legacy_hitscan(this.data));
    addModule(new L__legacy_random(this.data));
    addModule(new L__legacy(this.data));
    addModule(new L__meta_mod(this.data, this.mod));
    addModule(new M__cb_column(this.data));
    addModule(new M__cb_light(this.data));
View Full Code Here

  {
    this.data = new SelfGeneratingData(GenericSheet.class);
   
    addModule(new L__legacy_column(this.data));
    addModule(new L__legacy_hitscan(this.data));
    addModule(new L__legacy_random(this.data));
    addModule(new L__legacy(this.data));
    addModule(new L__meta_mod(this.data, this.mod));
    addModule(new M__cb_column(this.data));
    addModule(new M__cb_light(this.data));
    addModule(new M__cb_pos(this.data));
View Full Code Here

   
    addModule(new L__legacy_column(this.data));
    addModule(new L__legacy_hitscan(this.data));
    addModule(new L__legacy_random(this.data));
    addModule(new L__legacy(this.data));
    addModule(new L__meta_mod(this.data, this.mod));
    addModule(new M__cb_column(this.data));
    addModule(new M__cb_light(this.data));
    addModule(new M__cb_pos(this.data));
    addModule(new M__gui_general(this.data));
    addModule(new M__ply_action(this.data));
View Full Code Here

    addModule(new L__legacy_column(this.data));
    addModule(new L__legacy_hitscan(this.data));
    addModule(new L__legacy_random(this.data));
    addModule(new L__legacy(this.data));
    addModule(new L__meta_mod(this.data, this.mod));
    addModule(new M__cb_column(this.data));
    addModule(new M__cb_light(this.data));
    addModule(new M__cb_pos(this.data));
    addModule(new M__gui_general(this.data));
    addModule(new M__ply_action(this.data));
    addModule(new M__ply_armor(this.data));
View Full Code Here

TOP

Related Classes of eu.ha3.matmos.engine.core.interfaces.Named

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.