Package eu.ha3.matmos.editor

Examples of eu.ha3.matmos.editor.SerialManipulator


    {
      this.sheet = data.getSheet(normalName);
    }
    else
    {
      this.sheet = new DeltaSheet(data, normalName, deltaName);
    }
   
    this.interval = 1;
    this.callsRemaining = 0;
  }
View Full Code Here


        List<SheetIndex> sheetIndexes = new ArrayList<SheetIndex>();
        for (SerialDynamicSheetIndex eelt : entry.getValue().entries)
        {
          sheetIndexes.add(new SheetEntry(eelt.sheet, eelt.index));
        }
        this.elements.add(new Dynamic(
          dynamicSheetHash(entry.getKey()), this.providers.getSheetCommander(), sheetIndexes));
      }
    }
    if (root.list != null)
    {
View Full Code Here

    }
    if (root.event != null)
    {
      for (Entry<String, SerialEvent> entry : root.event.entrySet())
      {
        this.elements.add(new Event(
          entry.getKey(), this.providers.getSoundRelay(), asList(entry.getValue().path),
          entry.getValue().vol_min, entry.getValue().vol_max, entry.getValue().pitch_min,
          entry.getValue().pitch_max, entry.getValue().distance));
      }
    }
View Full Code Here

    }
    if (root.set != null)
    {
      for (Entry<String, SerialSet> entry : root.set.entrySet())
      {
        this.elements.add(new Junction(
          entry.getKey(), this.providers.getCondition(), asList(entry.getValue().yes), asList(entry
            .getValue().no)));
      }
    }
    if (root.event != null)
View Full Code Here

              entry.getKey(), this.providers.getMachine(), this.providers.getReferenceTime(), events,
              serial.delay_fadein, serial.delay_fadeout, serial.fadein, serial.fadeout);
        }
       
        Named element =
          new Machine(
            entry.getKey(), this.providers.getJunction(), asList(serial.allow), asList(serial.restrict),
            tie, stream);
        this.elements.add(element);
      }
    }
View Full Code Here

    }
    if (root.list != null)
    {
      for (Entry<String, SerialList> entry : root.list.entrySet())
      {
        this.elements.add(new Possibilities(entry.getKey(), asList(entry.getValue().entries)));
      }
    }
    if (root.condition != null)
    {
      for (Entry<String, SerialCondition> entry : root.condition.entrySet())
View Full Code Here

      return;
    }
   
    try
    {
      ProviderCollection providers = this.mod.getExpansionList().get(this.ex).obtainProvidersForDebugging();
      Distances condition = distances(providers.getCondition());
      Distances junction = distances(providers.getJunction());
      Distances machine = distances(providers.getMachine());
     
      int yyBase = 30;
     
      scrub(condition, 20, yyBase);
      scrub(junction, 400, yyBase);
View Full Code Here

    addModule(module);
  }
 
  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));
View Full Code Here

      for (Entry<String, SerialDynamic> entry : root.dynamic.entrySet())
      {
        List<SheetIndex> sheetIndexes = new ArrayList<SheetIndex>();
        for (SerialDynamicSheetIndex eelt : entry.getValue().entries)
        {
          sheetIndexes.add(new SheetEntry(eelt.sheet, eelt.index));
        }
        this.elements.add(new Dynamic(
          dynamicSheetHash(entry.getKey()), this.providers.getSheetCommander(), sheetIndexes));
      }
    }
    if (root.list != null)
    {
      for (Entry<String, SerialList> entry : root.list.entrySet())
      {
        this.elements.add(new Possibilities(entry.getKey(), asList(entry.getValue().entries)));
      }
    }
    if (root.condition != null)
    {
      for (Entry<String, SerialCondition> entry : root.condition.entrySet())
      {
        String indexNotComputed = entry.getValue().index;
        if (entry.getValue().sheet.equals(Dynamic.DEDICATED_SHEET))
        {
          indexNotComputed = dynamicSheetHash(indexNotComputed);
        }
       
        this.elements.add(new Condition(
          entry.getKey(), this.providers.getSheetCommander(), new SheetEntry(
            entry.getValue().sheet, indexNotComputed),
          Operator.fromSerializedForm(entry.getValue().symbol), entry.getValue().value));
      }
    }
    if (root.set != null)
View Full Code Here

      indexNotComputed = recomputeBlockName(indexNotComputed);
      sheetNotComputed = recomputeScanSheetName(sheetNotComputed);
    }
   
    SheetIndex si =
      !dynamic ? new LegacySheetIndex_Engine0to1(sheetNotComputed, indexNotComputed) : new SheetEntry(
        sheetNotComputed, indexNotComputed);
   
    {
      SerialCondition condition = new SerialCondition();
     
View Full Code Here

TOP

Related Classes of eu.ha3.matmos.editor.SerialManipulator

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.