getResult

open fun <P : Position2D<out P>?, C : EffectFX<P>?> getResult(): Optional<Class<C>>

Asks the user to chose an effect and returns the related Class.

Return

the class of the effect

Parameters

<P>

the position type

<C>

the EffectFX type