Class CourierPatrolStateInternal


  • public class CourierPatrolStateInternal
    extends java.lang.Object
    Author:
    Andi Hotz, (c) Sahits GmbH, 2014 Created on Feb 16, 2014
    • Constructor Summary

      Constructors 
      Constructor Description
      CourierPatrolStateInternal​(int premium, ch.sahits.game.openpatrician.model.city.ICity[] destinations)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getPremium()  
      java.util.Optional<ch.sahits.game.openpatrician.model.city.ICity> nextDestination()  
      void removeFirstCity()  
      • Methods inherited from class java.lang.Object

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

      • CourierPatrolStateInternal

        public CourierPatrolStateInternal​(int premium,
                                          ch.sahits.game.openpatrician.model.city.ICity[] destinations)
    • Method Detail

      • getPremium

        public int getPremium()
      • removeFirstCity

        public void removeFirstCity()
      • nextDestination

        public java.util.Optional<ch.sahits.game.openpatrician.model.city.ICity> nextDestination()