Class Coach

    • Field Detail

      • stopLimit

        protected int stopLimit
      • destination

        protected BusHub destination
    • Constructor Detail

      • Coach

        public Coach()
    • Method Detail

      • getStopLimit

        public int getStopLimit()
      • setStopLimit

        public void setStopLimit​(int stopLimit)
      • setDestination

        public void setDestination​(BusHub destination)
      • getSetupCost

        public int getSetupCost()
        Specified by:
        getSetupCost in class Bus
      • getDistanceToDestinationCost

        public int getDistanceToDestinationCost()