Class IncentiveColorer

    • Constructor Detail

      • IncentiveColorer

        public IncentiveColorer​(Class<? extends Incentive> incentiveClass)
        Parameters:
        incentiveClass - Class<? extends Incentive>; incentive class
    • Method Detail

      • getColor

        public final Color getColor​(Gtu gtu)
        Get the color, based on the Drawable object.
        Parameters:
        gtu - D; the object to determine the color for
        Returns:
        the (fill, line) color of the drawable object