Last visit was: It is currently Fri Dec 14, 2018 2:16 pm


All times are UTC-05:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
 Post subject: Component vs Hierarchy System
PostPosted: Tue Apr 26, 2011 7:36 pm 
User avatar
 

Joined: Sun Feb 12, 2006 8:56 pm
Posts: 1019
Website: http://eddieringle.com
Location: Detroit, MI
I've been getting serious about game development, and right now am trying to decide on whether I should used a hierarchy system for entities, such as having an Entity class and then having child classes inherit that one, or a component system, which I'm guessing is having an object class capable of being extended with components.

See here if I failed at explaining.

Anyone have experience with either? Is there a performance difference between the two? Should I just go with the one easier to implement?

_________________
-- Eddie Ringle

Check out Elysian Shadows and consider backing us on Kickstarter!

====================================

Image


Top
Offline   
Display posts from previous:  Sort by  
Post new topic  Reply to topic

All times are UTC-05:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created by Miah with assistance from hyprnova