Inheritance best practice: test Type of subclass or use enum?
See attched UML. Just wondering what the best practice is? Is it better to test the Type of BaseEffect in code:
or to use an enum as per the UML:
or to use an enum as per the UML:

if (effect is BlurEffect)if (effect.EffectType == EffectType.BlurEffect)