Guest User

Player setTexture

a guest
Nov 1st, 2014
11
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.10 KB | None | 0 0
  1. void Player::setTexture(Texture tex)
  2. {
  3.     this->tex = tex;
  4.     this->sprite.setTexture(this->tex, true);
  5. }
Advertisement
Add Comment
Please, Sign In to add comment