<commit_before>//
//  GameScene.swift
//  ChorusBirdie
//
//  Created by <NAME> on 15/11/14.
//  Copyright (c) 2014 SwiftCrunch. All rights reserved.
//

import SpriteKit

class GameScene: SKScene {
    
    let helloNode = FlyingBirdNode.bird()
    
    override func didMoveToView(view: SKView) {
        helloNode.position = CGPointMake(400, 400)
        self.physicsWorld.gravity = CGVectorMake(0.0, -0.9)
        self.addChild(helloNode)
        helloNode.physicsBody?.applyImpulse(CGVectorMake(5.0, 0.0))
    }
    
    override func touchesBegan(touches: NSSet, withEvent event: UIEvent) {
        /* Called when a touch begins */
        helloNode.physicsBody?.applyImpulse(CGVectorMake(0.5, 10.0))
        
    }
   
    override func update(currentTime: CFTimeInterval) {
        /* Called before each frame is rendered */
    }
}
<commit_msg>start animating wings from the beginning<commit_after>//
//  GameScene.swift
//  ChorusBirdie
//
//  Created by <NAME> on 15/11/14.
//  Copyright (c) 2014 SwiftCrunch. All rights reserved.
//

import SpriteKit

class GameScene: SKScene {
    
    let helloNode = FlyingBirdNode.bird()
    
    override func didMoveToView(view: SKView) {
        helloNode.position = CGPointMake(400, 400)
        self.physicsWorld.gravity = CGVectorMake(0.0, -0.9)
        self.addChild(helloNode)
        helloNode.physicsBody?.applyImpulse(CGVectorMake(5.0, 0.0))
        helloNode.startAnimatingWings()
    }
    
    override func touchesBegan(touches: NSSet, withEvent event: UIEvent) {
        /* Called when a touch begins */
        helloNode.physicsBody?.applyImpulse(CGVectorMake(0.5, 10.0))
        
    }
   
    override func update(currentTime: CFTimeInterval) {
        /* Called before each frame is rendered */
    }
}

{'fraction_non_alphanumeric': 0.10998307952622674, 'fraction_numerical': 0.032712915961646924, 'mean_word_length': 2.591093117408907, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4808069', 'n_tokens_mistral': 635, 'n_tokens_neox': 577, 'n_words': 126}