Package net.sf.mrailsim.signals

Examples of net.sf.mrailsim.signals.MainSignal.update()


//    MainLookaheadSignal signal = new MainLookaheadSignal( signalId );
//    signal.setLookaheads( aheadAmount, track, node );
    MainSignal signal = new MainSignal( signalId );
    signal.setBound( track, node );
    signal.makeLookaheadSignal( aheadAmount );
    signal.update();
    signalList.add( signal );
  }

  private void addPreSignal( long preSignalId, long mainSignalId, long trackId, long nodeId ) {
    Signal signal = getSignal( mainSignalId );
View Full Code Here

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.