Examples of TrackWalker


Examples of net.sf.mrailsim.rails.TrackWalker

  public void setBound( Track boundTrack, Node boundNode ) {
    super.setBound( boundTrack, boundNode );

    boundTrack.addPreSignal( this );
   
    TrackWalker walker = new TrackWalker();
    walker.startAt( boundTrack, boundNode );
    walker.walkTo( mainSignal.getBoundTrack() );
   
    distanceToMainSignal = walker.getDistanceWalked();
  }
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.