Provides a HasPath (such as roller coaster simulation) with a choice of several paths. Defines a ParameterString that has the set of available ParametricPaths as choices.

getPathName returns name of current path. setPathName sets the current path to be the path with the given name from among the set of paths that are specified to the constructor.

Parameters Created

Hierarchy (view full)

Implements

Constructors

Methods

  • Sets whether this Subject will broadcast events, typically used to temporarily disable broadcasting. Intended to be used in situations where a subclass overrides a method that broadcasts an event. This allows the subclass to prevent the superclass broadcasting that event, so that the subclass can broadcast the event when the method is completed.

    Parameters

    • value: boolean

      whether this Subject should broadcast events

    Returns boolean

    the previous value

  • Returns a minimal string representation of this object, usually giving just identity information like the class name and name of the object.

    For an object whose main purpose is to represent another Printable object, it is recommended to include the result of calling toStringShort on that other object. For example, calling toStringShort() on a DisplayShape might return something like this:

    DisplayShape{polygon:Polygon{'chain3'}}
    

    Returns string

    a minimal string representation of this object.

  • Recalculates the current path, in case the equation of the path has changed, or the start and finish parameter values have changed.

    Returns void

Generated using TypeDoc