gameEngine/gameEngine/Sprite.cpp
//does not currently work, reload inital texture and assign it
does not currently work, reload inital texture and assign it
does not currently work reload inital texture and assign it
void Sprite::reInit()
{
	std::cout << "\nuh oops\n";
	resetCounter++;
	std::string temp(textureFile + std::to_string(resetCounter));
	const char* temp2 = temp.c_str();
	std::cout << temp2;
	ResourceManager::LoadTexture(textureFile, true, temp2);
	this->Texture = ResourceManager::GetTexture(temp2);
}
void Sprite :: reInit ( ) { std :: cout << " \n \n " ; resetCounter ++ ; std :: string temp ( textureFile + std :: to_string ( resetCounter ) ) ; const char * temp2 = temp . c_str ( ) ; std :: cout << temp2 ; ResourceManager :: LoadTexture ( textureFile , true , temp2 ) ; this -> Texture = ResourceManager :: GetTexture ( temp2 ) ; }
does not currently work, reload inital texture and assign it
does not currently work reload inital texture and assign it
//load texture