Okay so I'm having an issue with my game, nothing big, and I've patched it haphazardly. I would very much like to understand why it doesn't work though.
The function uses the image functions even though they are overwritten virtual functions in the test class, should I just use a template to change the test classes?
As it stands I have overloaded the handle_bottom(and top and right and left)_collide functions with a test& first for the first parameter. What am I missing, if anything?
haha, sorry about that, the test is only supposed to be temporary, the only reason it's there is to fix my collision detection system =D.
Moving on, the problem is that it calls the img functions instead of the test functions if I am using an img reference, I was under the impression that because the functions are virtual it would call the highest function .
(where highest means the closest to the class the instance is a member of)