Now takes pointer of game instead of reference.

Also now takes an sf::RenderWindow reference.