Class BusStopAnimation.Text

All Implemented Interfaces:
Locatable, OtsShape
Enclosing class:
BusStopAnimation

public static class BusStopAnimation.Text extends RenderableTextSource<BusStopAnimation.BusStopData,BusStopAnimation.Text>
Text animation for the bus stop.
  • Constructor Details

    • Text

      public Text(BusStopAnimation.BusStopData source, Supplier<String> text, float dx, float dy, nl.tudelft.simulation.naming.context.Contextualized contextualized)
      Constructor.
      Parameters:
      source - the object for which the text is displayed
      text - the text to display
      dx - the horizontal movement of the text, in meters
      dy - the vertical movement of the text, in meters
      contextualized - context provider
  • Method Details