Jump to content
  • Advertisement
Sign in to follow this  
murdock

[XNA]SpriteManager Class vs GameComponentManager class

This topic is 2967 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
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!