search

Class myphysicslab.sims.roller.PathSelector

Provided By
Extends
All Implemented Interfaces

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

  • ParameterString named PathSelector.en.PATH see #setPathName.

new PathSelector( hasPath, paths )

Parameters
hasPathmyphysicslab.sims.roller.HasPath
pathsArray<myphysicslab.lab.model.ParametricPath>

the set of paths to offer

Instance Methods

Static Properties

Type Definitions