BeatTheStreet/src/player.cpp
//Void function  that draws the sprite to the window, the render window is passed through by reference.
Void function  that draws the sprite to the window, the render window is passed through by reference.
Void function that draws the sprite to the window the render window is passed through by reference .
void Player::drawPlayer(sf::RenderWindow &window)
{
	int itimetofadeininms = playerfadeinclock.getElapsedTime().asMilliseconds();
	if (itimetofadeininms < 1000) settransparancy(itimetofadeininms / 10);
	else settransparancy(100);
	window.draw(sPlayer);
}
void Player :: drawPlayer ( sf :: RenderWindow & window ) { int itimetofadeininms = playerfadeinclock . getElapsedTime ( ) . asMilliseconds ( ) ; if ( itimetofadeininms < 1000 ) settransparancy ( itimetofadeininms / 10 ) ; else settransparancy ( 100 ) ; window . draw ( sPlayer ) ; }
Void function  that draws the sprite to the window, the render window is passed through by reference.
Void function that draws the sprite to the window the render window is passed through by reference .