<commit_before>import SpriteKit

class MOptionReformaCrossingStrategyBegin:MOptionReformaCrossingStrategy
{
    private(set) var model:MOptionReformaCrossing!
    private let kTimeout:TimeInterval = 1.5
    
    required init(model:MOptionReformaCrossing)
    {
        self.model = model
    }
    
    func update(
        elapsedTime:TimeInterval,
        scene:SKScene)
    {
        model.laneGroup.update(elapsedTime:elapsedTime)
        
        if elapsedTime > kTimeout
        {
            model.activateGame()
            
            guard
                
                let scene:VOptionReformaCrossingScene = scene as? VOptionReformaCrossingScene
            
            else
            {
                return
            }
            
            let actionFadeIn:SKAction = model.actions.actionFadeIn
            let actionFadeOut:SKAction = model.actions.actionFadeOut
            
            scene.menu.run(actionFadeIn)
            model.hud.view?.run(actionFadeIn)
            model.title.view?.run(actionFadeOut)
        }
    }
}<commit_msg>Fade in stop view<commit_after>import SpriteKit

class MOptionReformaCrossingStrategyBegin:MOptionReformaCrossingStrategy
{
    private(set) var model:MOptionReformaCrossing!
    private let kTimeout:TimeInterval = 1.5
    
    required init(model:MOptionReformaCrossing)
    {
        self.model = model
    }
    
    func update(
        elapsedTime:TimeInterval,
        scene:SKScene)
    {
        model.laneGroup.update(elapsedTime:elapsedTime)
        
        if elapsedTime > kTimeout
        {
            model.activateGame()
            
            guard
                
                let scene:VOptionReformaCrossingScene = scene as? VOptionReformaCrossingScene
            
            else
            {
                return
            }
            
            let actionFadeIn:SKAction = model.actions.actionFadeIn
            let actionFadeOut:SKAction = model.actions.actionFadeOut
            
            scene.menu.run(actionFadeIn)
            model.hud.view?.run(actionFadeIn)
            model.stop.view?.run(actionFadeIn)
            model.title.view?.run(actionFadeOut)
        }
    }
}
{'fraction_non_alphanumeric': 0.06378132118451026, 'fraction_numerical': 0.0018223234624145787, 'mean_word_length': 1.6650485436893203, 'pattern_counts': {'":': 0, '<': 3, '<?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': '6992155', 'n_tokens_mistral': 624, 'n_tokens_neox': 614, 'n_words': 86}