Class DramaFactory


Default Factory class for Drama simulations. The GenericSimulation class uses a factory, an instance of GenericFactory for creating objects implicitly. This factory is used internally and consequently is much simpler than a typical named-object factory.

The minimum requirement for the simulation factory class is to provide a standard method for creating instances of DomainMember. Subclasses may define methods that create other objects as well. As with all factories, the objective is to allow the factory to provide arguments to a constructor that the user of the factory would prefer not to provide explicitly.