Package at.dotti.railway.manager.stations

Examples of at.dotti.railway.manager.stations.Station


public class RailwayManagerMain {

  public RailwayManagerMain() {
    // - create a railway net
    Station klbgWdlg = new Station() {

      @Override
      public String getName() {
        return "Klosterneuburg Weidling";
      }
    };
    Platform p1 = new SimplePlatform();
    Platform p2 = new SimplePlatform();
    Platform p3 = new SimplePlatform();
    klbgWdlg.addPlatform(p1);
    klbgWdlg.addPlatform(p2);
    klbgWdlg.addPlatform(p3);
    Rail p1r1 = new SimpleRail();
    p1.addRail(p1r1);
    Rail p2r1 = new SimpleRail();
    p2.addRail(p2r1);
    Rail p3r1 = new SimpleRail();
View Full Code Here

TOP

Related Classes of at.dotti.railway.manager.stations.Station

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.