Class Junction


  • public class Junction
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Junction​(float x, float y, java.lang.String name)
      Constructor for Junction
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getIndex()  
      java.lang.String getName()  
      float getX()  
      float getY()  
      void setIndex​(int index)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Junction

        public Junction​(float x,
                        float y,
                        java.lang.String name)
        Constructor for Junction
        Parameters:
        x - The x position of the junction in pixels
        y - The y position of the junction in pixels
        name - Descriptor of junction location on the map - used only for help debugging
    • Method Detail

      • setIndex

        public void setIndex​(int index)
      • getX

        public float getX()
      • getY

        public float getY()
      • getName

        public java.lang.String getName()
      • getIndex

        public int getIndex()