First is how do I pass the RenderWindow to a function.
For example I want to have a render function in my layer class
void render(Sprite& s, RenderWindow& rw)
{
rw.Draw(s);
}
how would I go about making that :?:
-----------------------------------------------------------------------------
The second question is how come when I change the image of the sprite, when I draw it, it appears white ?!?!??!