Lets say i have main function and there i have declared a RenderWindow window.
In my player class i have Draw function to draw everything relevant to player. How can i pass window from my main function to my draw function in player class so i can draw player stuff, and then just call player.draw( render window) in main game loop.