Package net.sf.mrailsim.trains

Examples of net.sf.mrailsim.trains.Train


    System.out.println(  );
//    Game.trackManager.printWayFrom( Game.trackManager.getTrack( 1 ), Game.nodeManager.getNode( 1 ), 7 );
    System.out.println(  );

    Train t1 = new Train( 1, 20 );
   
    Game.trainManager.add( t1 );
    Game.trainManager.putTrain( t1, 1, 59 );
   
    Train t2 = new Train( 2, 20 );
   
    Game.trainManager.add( t2 );
    Game.trainManager.putTrain( t2, 72, 351 );

    // TODO: This will only work with example config file #3
View Full Code Here

TOP

Related Classes of net.sf.mrailsim.trains.Train

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.