def __init__(self, factory):
        '''
        Factory parameter is a configured ComponentFactory that
        is able to produce load plan and ammo generator.
        '''
        self.factory = factory
        self.load_plan = factory.get_load_plan()
        self.ammo_generator = factory.get_ammo_generator()
        self.filter = factory.get_filter()
        self.marker = factory.get_marker()
def __init__ ( self , factory ) : self . factory = factory self . load_plan = factory . get_load_plan ( ) self . ammo_generator = factory . get_ammo_generator ( ) self . filter = factory . get_filter ( ) self . marker = factory . get_marker ( )
Factory parameter is a configured ComponentFactory that
        is able to produce load plan and ammo generator.