#NEWLINE# def with_effect_factory( self , effect_factory ) : #NEWLINE# #INDENT# '\n        Set effect factory to use\n        ' #NEWLINE# self . effect_factory = effect_factory #NEWLINE# return effect_factory