Sign in to follow this  

[XNA]SpriteManager Class vs GameComponentManager class

This topic is 2665 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am doing design work for a game I am going to be starting development of in the near future and I am looking for a way to manage the many sprites for the game which will be a 2D RPG.

My question is would it be better to use a SpriteManager class which uses an ArrayList for storage of Sprites and some identifying data(a Sprite class) OR

would it be better to just use a GameComponentManager class to hold drawable game components?

My initial thoughts were that the drawablegamecomponents would be overkill.

Share this post


Link to post
Share on other sites
Quote:
Original post by Deyja
Your initial thoughts are correct.


I would tend to disagree. You still have to draw and update those sprites so a DrawableGameComponent class to manage them is perfect.

Share this post


Link to post
Share on other sites

This topic is 2665 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this