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();