<commit_before>//
//  GameScene.swift
//  DLSpriteKitTimerDemo
//
//  Created by <NAME> on 26/10/15.
//  Copyright (c) 2015 dlqapps. All rights reserved.
//

import SpriteKit

class GameScene: SKScene {
    var timer = DLSpriteKitTimer(usingLabel: SKLabelNode(fontNamed:"Helvetica Neue"), seconds: 10, withActionPersecond: { () -> () in
        print("One second decreased.")
        }, withFiringAction: { () -> () in
        print("Time out!")
        }, decreasing: true)
    
    var secondTimer = DLSpriteKitTimer(usingLabel: SKLabelNode(fontNamed:"Helvetica Neue"), seconds: 10, withActionPersecond: { () -> () in
        print("One second increased.")
        }, withFiringAction: { () -> () in
            print("Time out!")
        }, decreasing: false)
    
    override func didMoveToView(view: SKView) {
        /* Setup your scene here */
        timer.label.fontSize = 45
        timer.label.position = CGPoint(x:CGRectGetMidX(self.frame), y:CGRectGetMidY(self.frame))
        
        secondTimer.label.fontSize = 45
        secondTimer.label.position = CGPoint(x:CGRectGetMidX(self.frame), y:CGRectGetMidY(self.frame) - 50)
        
        self.addChild(timer.label)
        self.addChild(secondTimer.label)
    }
    
    override func touchesBegan(touches: Set<UITouch>, withEvent event: UIEvent?) {
        if timer.running {
            timer.stop()
            secondTimer.stop()
        } else {
            timer.start()
            secondTimer.start()
        }
    }
   <commit_msg>Updating demo project<commit_after>//
//  GameScene.swift
//  DLSpriteKitTimerDemo
//
//  Created by <NAME> on 26/10/15.
//  Copyright (c) 2015 dlqapps. All rights reserved.
//

import SpriteKit

class GameScene: SKScene {
    var timer = DLSpriteKitTimer(seconds: 10, withActionPersecond: { () -> () in
        print("One second decreased.")
        }, withFiringAction: { () -> () in
        print("Time out!")
        }, decreasing: true)
    
    var secondTimer = DLSpriteKitTimer(seconds: 10, withActionPersecond: { () -> () in
        print("One second increased.")
        }, withFiringAction: { () -> () in
            print("Time out!")
        }, decreasing: false)
    
    override func didMoveToView(view: SKView) {
        /* Setup your scene here */
        timer.fontSize = 45
        timer.fontName = "Helvetica Neue"
        timer.position = CGPoint(x:CGRectGetMidX(self.frame), y:CGRectGetMidY(self.frame))
        
        secondTimer.fontSize = 45
        secondTimer.fontName = "Helvetica Neue"
        secondTimer.position = CGPoint(x:CGRectGetMidX(self.frame), y:CGRectGetMidY(self.frame) - 50)
        
        self.addChild(timer)
        self.addChild(secondTimer)
    }
    
    override func touchesBegan(touches: Set<UITouch>, withEvent event: UIEvent?) {
        if timer.running {
            timer.stop()
            secondTimer.stop()
        } else {
            timer.start()
            secondTimer.start()
        }
    }
   
{'fraction_non_alphanumeric': 0.126514131897712, 'fraction_numerical': 0.013458950201884253, 'mean_word_length': 2.2634467618002194, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4210913', 'n_tokens_mistral': 961, 'n_tokens_neox': 902, 'n_words': 184}