Suicide
This commit is contained in:
parent
17f1086ce4
commit
bfa92e8b43
2 changed files with 2 additions and 1 deletions
|
@ -27,7 +27,8 @@ void Character::update(float deltaTime){
|
|||
if (timestamp >= frameTime){
|
||||
timestamp = 0;
|
||||
|
||||
std::cout << "PLAYER" << playerNum << ": indexX: " << indexX << ", idleFrame: " << idleFrame << std::endl;
|
||||
//std::cout << "PLAYER" << playerNum << ": indexX: " << indexX << ", idleFrame: " << idleFrame << std::endl;
|
||||
|
||||
sf::IntRect rect = sf::IntRect(indexX*width, indexY*height, width, height);
|
||||
setTextureRect(rect);
|
||||
|
||||
|
|
Binary file not shown.
Reference in a new issue