Need to pass an 'Effect' in to the KryptonEngine constructor.


I'm working on a Krypton plug-in for the 'GLEED2D' level editor: https://github.com/SteveDunn/Gleed2D/wiki

It allow hulls and lights to be designed. Here's a video: http://www.youtube.com/watch?feature=player_embedded&v=2a4shMgRQrk

The tool loads the 'Effect' and then needs to pass it to the KryptonEngine constructor. Currently, the constructor just takes a resource name and tries to load the effect itself.

So I added a constructor that takes the effect. I'll upload the patch in a minute.

The tool also works on XBox 360 so I'll submit a patch for that tool.

I'm also working on getting the tool to run under MonoGame. When that's done, I'll submit another patch.

Thanks a lot,