instantiate Effect
open fun <P : Position2D<out P>?> instantiateEffect(clazz: Class<out EffectFX<P>>): EffectFX<P>
Content copied to clipboard
Instantiates the desired effect.
Return
the effect instantiated
Parameters
<P>
the position type
clazz
the class of the effect