Archived

This topic is now archived and is closed to further replies.

Best way to plan class design? (OOP)

This topic is 6406 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

No I have to ask something real, not only talks about stats and stuff, sorry If I dropped you to ground, but some of us are really doing games(sarcasm). Do you guys know any good ways to plan class trees and their inheritance + interacting between each other. I asked this non-language specific, because I''m doing this in Java. Currently we have done it so that we thought all main classes and then started to create class diagrams. I know that UML is probably tool for this, but is there any other unwritten rules/easy ways to divide classes. We have some categories, depending on GUI and if the class is not doing anything visible. Time comes, time goes and I only am.

Share this post


Link to post
Share on other sites
I think that UML, specificly the USE CASE DIAGRAMS are the best way to decide what classes you need and how these classes interact. From this, I can determine inheritences etc...

I think your on the right track with UML

Dave "Dak Lozar" Loeser

Share this post


Link to post
Share on other sites
I also agree UML is the way to go for designing games (or other programs) in an OO language. Can anyone recommend a tool that is fairly good and yet free or inexpensive? I tried ArgoUML and while it is free, it is rather limited. Objecteering also has a free tool but I have not had time to try it.

Share this post


Link to post
Share on other sites
What does UML stand for?

I thought it was Universal Markup Language.

If it is I can''t find any references to it at the design resources here.

Mike

Share this post


Link to post
Share on other sites
No useful references in the resources here for that either.

Anyone got a URL?

Mike

Share this post


Link to post
Share on other sites
A good introductory text for UML is:

UML Distilled: Applying the Standard Object Modeling Language
by Martin Fowler and Kendall Scott

ISBN: 0-201-32563-2

RRP: $29.99

Share this post


Link to post
Share on other sites
Any search engine such as Metacrawler will bring up lots of sites dedicated to UML...here is a site that has lots of FAQ''s, articles, etc:

http://www.cetus-links.org/oo_uml.html

Share this post


Link to post
Share on other sites