OO Pong - need help designing
hi Folks.
Been a loong time since I had to do any OO programming so letting myself back into it gently by trying to write an object oriented version of pong.
I have a Toy class. Ball and Paddle will be sub classes(inherit) the toy class.
I need to implement a draw method. As a paddle is very different from a ball, im wondering if i should have the draw method in the Toy class at all.
Should the draw method be specified in an interface, forcing the ball and paddle to implement their own draw methods?