chooseAndLoad

open fun <P : Position2D<out P>?> chooseAndLoad(): EffectFX<P>

Asks the user to chose an effect and returns a new instance of the desired class.

Call this method is the same as calling getResult and instantiateEffect}.

Return

the effect chosen, or null if no effect was chosen

Parameters

<P>

the position type