I was thinking of further breaking down the 'CardCollection' into 'Deck' and 'Hand'. I would like to use it to maintain both types of card collection and I suppose this would prevent 'Hand' having access to GenerateCardCollection() which would be moved to 'Deck'.
Anyway I'm probably getting...
cheers for all the responses!
After reading through your responses here... and buying an amazingly overpriced book on OOSD&A rather than relying on websites, I have realised that I was trying to force generalisation relationships onto anything and everything in sight when it appears to be rarer...
I have a background in relational database modeling and have been trying to get to grips with oop for about a week now. I'm sure I have either missed or am mis-understanding something. As an exercise I am trying to build a small web app based on pontoon using asp.net, Ajax & javascript...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.