ok... so I had a couple of problems with my code but now I have only one left...
I tried to figure it out for hours and also searched the internet but with no luck... I really hope you guys can help me.
so here's the error:
1>game.cpp(34): error C2039: 'keyPress' : is not a member of 'Sprite'
1> c:\users\david\documents\visual studio 2010\projects\evilmonkeys\evilmonkeys\sprite.h(18) : see declaration of 'Sprite'
This is exactly as it says : there is no member function keyPress in the sprite class. The problem is that keypress is defined in the derived class, but you are using a pointer to the base class. Pointers to classes work the other way around : A pointer to a derived class is a valid pointer to the base class. So make player a pointer to a character object.