Package org.opentrafficsim.demo
Class DefaultsFactory
java.lang.Object
org.opentrafficsim.demo.DefaultsFactory
Factory for defaults in demos.
 
 Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. 
 BSD-style license. See OpenTrafficSim License.
 
- Author:
 - Alexander Verbraeck, Peter Knoppers, Wouter Schakel
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.djutils.immutablecollections.ImmutableMap<org.opentrafficsim.core.gtu.GtuType,Color> Standard drawing colors for GTU types.static final org.djutils.immutablecollections.ImmutableMap<org.opentrafficsim.core.gtu.GtuType,org.opentrafficsim.draw.gtu.DefaultCarAnimation.GtuData.GtuMarker> Standard markers for GTU types. - 
Method Summary
Modifier and TypeMethodDescriptionstatic org.opentrafficsim.base.parameters.ParametersReturns a default set of parameters. 
- 
Field Details
- 
GTU_TYPE_COLORS
public static final org.djutils.immutablecollections.ImmutableMap<org.opentrafficsim.core.gtu.GtuType,Color> GTU_TYPE_COLORSStandard drawing colors for GTU types. - 
GTU_TYPE_MARKERS
public static final org.djutils.immutablecollections.ImmutableMap<org.opentrafficsim.core.gtu.GtuType,org.opentrafficsim.draw.gtu.DefaultCarAnimation.GtuData.GtuMarker> GTU_TYPE_MARKERSStandard markers for GTU types. 
 - 
 - 
Method Details
- 
getDefaultParameters
public static org.opentrafficsim.base.parameters.Parameters getDefaultParameters()Returns a default set of parameters.- Returns:
 - Default set of parameters.
 
 
 -