Class IncentiveColorer
- java.lang.Object
-
- org.opentrafficsim.road.gtu.colorer.DesireColorer
-
- org.opentrafficsim.road.gtu.colorer.IncentiveColorer
-
- All Implemented Interfaces:
Serializable,Colorer<Gtu>,GtuColorer
public class IncentiveColorer extends DesireColorer
Colorer for desire from a specific incentive.Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version 14 apr. 2017
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opentrafficsim.core.animation.gtu.colorer.GtuColorer
GtuColorer.LegendEntry
-
-
Field Summary
-
Fields inherited from class org.opentrafficsim.road.gtu.colorer.DesireColorer
NA
-
-
Constructor Summary
Constructors Constructor Description IncentiveColorer(Class<? extends Incentive> incentiveClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColorgetColor(Gtu gtu)Get the color, based on the Drawable object.StringtoString()-
Methods inherited from class org.opentrafficsim.road.gtu.colorer.DesireColorer
getColor, getLegend
-
-