Animacio de success preparada

This commit is contained in:
marti.lloveras 2017-01-22 00:06:41 +01:00
parent a1d2df2034
commit d3de9c5b92
2 changed files with 0 additions and 2 deletions

View file

@ -27,8 +27,6 @@ void Character::update(float deltaTime){
if (timestamp >= frameTime){
timestamp = 0;
//std::cout << "PLAYER" << playerNum << ": indexX: " << indexX << ", idleFrame: " << idleFrame << std::endl;
sf::IntRect rect = sf::IntRect(indexX*width, indexY*height, width, height);
setTextureRect(rect);