I am currently enrolled in a course doing OO with C++ at college. I have been assigned an assessment where using Visual Studio and DirectX, create a game of basically any sort of difficulty but I must use all aspects of OO.
I have an idea of what game sort of game I am going to create, here is a basic (really basic, as in - made in paint in 5 seconds) shot of what my game will look like.
[IMG]http://i17.photobucket.com/albums/b79/perthskateboarder/GameIdea.png[/IMG]
As you can probably see from the image, the user controlls the stick man and the aim is to collect the 3 tokens (red circles) and make it to the door without colliding with the monstors which just move horizontally and vertically.
How do you guys think I should set out my classes? I am thinking something like:
*clsParent - using polymorphism and inhertance to have this class draw all the sprites.
*clsWallH - have this class set the sprites and locations of all the horizontal walls.
*clsWallV - have this class set the sprites and locations of all the vertical walls.
*clsChar - have this class set the sprite and location and movement etc. of the character.
*clsToken - have this class the the sprite and locations and removal etc. of the tokens.
*clsMonstorB - have this class set the sprites and location of the blue monstor.
*clsMonstorO - have this class set the sprites and location of the orange monstor.
This is just my approx. 2 months of directx c++ experience talking. So I thought I would ask the proffesionals.
ANY help or advice is much appreciated.
Thanks alot,
Oliver.