Class BicycleFactory

All Implemented Interfaces:
Cloneable

public class BicycleFactory extends AbstractBicycleFactory<Bicycle>
Factory for creating instances of BicycleFactory.

The parameters this factory uses are defined as follows:

  • Constructor Details

    • BicycleFactory

      public BicycleFactory(Animation2D a2d)
      Constructor.
      Parameters:
      a2d - the animation
    • BicycleFactory

      public BicycleFactory()
      Constructor for a service provider. This constructor should not be used directly. It is necessary because of the introduction of modules in Java 9, and is used by a service provider that allows factories to be listed, possibly with documentation regarding their parameters. It just calls the default constructor with a null argument.
  • Method Details