Best orginization of classes in an RPG?
Over the past 2-3 weeks or so I've been learning SDL, and have gotten a pretty good framework for image loading, and manipulating based on various input.
Originally I was only wanting to write GUI's, but I've had so much fun creating and animating little sprites (my main sprite class even has a "spell" class embedded so it can shoot off fireballs :P) that I began to put more thought into making a game.
Anyway, to cut it short I've been brainstorming what a good class hierarchy chart for an RPG type game should look like. I did find some good basic examples online, still I thought I would ask here and see if anyone knew of any good examples of a UML type chart for an RPG?
I'm specifically interested in if most people use a root abstract type base class for game objects, and what should be done with composition, and what with inheritance.
Thanks for any information,
Edit: Also, if anyone has references for good books that discuss this sort of thing, please let me know.