a guest Feb 21st, 2016 262 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if self.shooting:
  2.     if self.xvelocity or self.yvelocity:
  3.         self.sprite = cat_walk_shoot_sprite
  4.     else:
  5.         self.sprite = cat_stand_shoot_sprite
  6. else:
  7.     if self.xvelocity or self.yvelocity:
  8.         self.sprite = cat_walk_sprite
  9.     else:
  10.         self.sprite = cat_stand_sprite
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand