Examples of walkTo()


Examples of net.sf.mrailsim.rails.TrackWalker.walkTo()

    boundTrack.addPreSignal( this );
   
    TrackWalker walker = new TrackWalker();
    walker.startAt( boundTrack, boundNode );
    walker.walkTo( mainSignal.getBoundTrack() );
   
    distanceToMainSignal = walker.getDistanceWalked();
  }

  public int getDistanceToMainSignal() {
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.