Advertisement
Guest User

Untitled

a guest
May 15th, 2015
308
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. let waitAction = SKAction.waitForDuration(1)
  2. let waitActionRun = SKAction.runBlock {
  3. self.multiplier = self.multiplier - 1
  4. self.score = self.score + 3
  5. }
  6. runAction(SKAction.repeatActionForever(SKAction.sequence([waitAction,waitActionRun])))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement