Original Post
Hey,
Well, as you might already know, I am creating a small breakout clone to learn Directx and to improve my use of classes. Well my question is that I have 3 classes: Ball, Paddle, Block. I need to check for collisions. After reading a book on classes it had said that it is not good practice to make the class relie on other parts of the program. So, I am wondering. Should I create funcion called Collision that all the classes relie on? Or should I create a Collision class? Or should I have each class do its own Collision test?
Also, I want to add a menu interface to this program. Would you say I should create one class called "Menu" to do this or should I create multipule classes to do different functions?
Well, as you can see, I am still not totally sure what the criteria for a class is. I hope to learn this over time, but for now I am still not sure. Well if you can help me out that would be appreciated.
Thanks.
Edited by - JSCFaith on April 18, 2001 12:45:41 AM