Geeks With Blogs
Code.Blog Code Talk for the Game Developer
Thinking about what I'd like to add to my demo and how the code is structured I need to implement a more advanced technique.  Currently there is no difference between any added model, they are all instances and models.  What I need to implement is an inheritance structure where I have a Character object that has inherited classes PlayerCharacter, EnemyCharacter, and NPCCharacter.  Then I can create factories to store lists of each groupings of these objects and use the SceneManager to pull them (along with the ModelManager) to create the rendering.  This won't lead to much new things on the user end other than that I could probably create a player character and define characteristics of the different models.  Really, I'm trying to transition them from 'Models' to 'Characters'. Posted on Wednesday, June 11, 2008 9:42 PM | Back to top

Comments on this post: Scene Management

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © Matthew Christian | Powered by: