page 1 of 1
Comments: 0 | Views: 1567
Ohohoh, I'm back from my extended vacation Big Smile

I'm currently playing about with XNA and I want to implement XML file loading, now this is all good but I want to use a generic class to load the XML files and more specialised classes to deal with what the XML file is giving me.

So I'm looking at this tutorial on loading stuff.

http://www.ziggyware.com/readarticle.php?article_id=72

And it has a struct SaveGame which holds the data that will be saved, that's all good; But how would I say for example have a struct that could have anything packed into it?

Like for example I have my LoadTextures and that would be different from LoadSaveGame so I would need different things out of that single struct.

Thanks for your time Big Smile
page 1 of 1
Comments: 0 | Views: 1567