Package de.fhpotsdam.generics

Source Code of de.fhpotsdam.generics.MarkerTestApp

package de.fhpotsdam.generics;

import processing.core.PApplet;
import de.fhpotsdam.unfolding.marker.SimplePointMarker;

public class MarkerTestApp extends PApplet {

  ClassHavingMarkerManager classHavingMarkerManager;

  MarkerManager<SimplePointMarker> markerManager;

  public void setup() {
    classHavingMarkerManager = new ClassHavingMarkerManager();
    classHavingMarkerManager.markerManager = new MarkerManager<SimplePointMarker>();

    SimplePointMarker marker = new SimplePointMarker();
    markerManager.addMarker(marker);
  }

  public void draw() {
    for (SimplePointMarker marker : markerManager.getMarkers()) {
      marker.getId();
    }
  }

}
TOP

Related Classes of de.fhpotsdam.generics.MarkerTestApp

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.