Advertisement
Guest User

Untitled

a guest
Apr 19th, 2015
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. override func touchesEnded(touches: Set<NSObject>, withEvent event: UIEvent) {
  2.  
  3.  
  4.  
  5.  
  6. if gameNotStarted {
  7.  
  8. if firePosition.x != 320 || firePosition.y > 280 {
  9.  
  10. fire.runAction(fireButtonReturn)
  11. iapButton.runAction(iapButtonReturn)
  12. aboutButton.runAction(abtButtonReturn)
  13.  
  14. if fire.hasActions() == false {
  15. println("has no actions")
  16. firePosition.x = 320
  17. firePosition.y = 280
  18.  
  19.  
  20. }
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30. }
  31.  
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement