Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- override func touchesEnded(touches: Set<NSObject>, withEvent event: UIEvent) {
- if gameNotStarted {
- if firePosition.x != 320 || firePosition.y > 280 {
- fire.runAction(fireButtonReturn)
- iapButton.runAction(iapButtonReturn)
- aboutButton.runAction(abtButtonReturn)
- if fire.hasActions() == false {
- println("has no actions")
- firePosition.x = 320
- firePosition.y = 280
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement