I have a question though (I don't know if this is the right place for it): why would MovableGameObjects necessarily be DrawableGameObjects? It feels a bit like mixing the model with the view.
Would it not be more appropriate to have two interface classes, class IMovableObject and class IDrawableObject, and use them in a manner similar to how you would use interfaces in Java?
class Player
: public IMovableObject, IDrawableObject
Btw, thanks for the sketch, I just realized something I was wondering how to implement in a game.
This post has been edited by diego_pmc: 16 February 2011 - 02:39 PM

New Topic/Question
Reply




MultiQuote





|