<commit_before>﻿using CocosSharp;

namespace FloatingItems.Android
{
    public class GameAppDelegate : CCApplicationDelegate
    {
        public override void ApplicationDidFinishLaunching(CCApplication application, CCWindow mainWindow)
        {
            //base.ApplicationDidFinishLaunching(application, mainWindow);
            application.PreferMultiSampling = false;
            application.ContentRootDirectory = "Content";

            var bounds = mainWindow.WindowSizeInPixels;
            CCScene.SetDefaultDesignResolution(bounds.Width, bounds.Height, CCSceneResolutionPolicy.ShowAll);

            // TODO game scene init goes here.

        }

        public override void ApplicationDidEnterBackground(CCApplication application)
        {
            base.ApplicationDidEnterBackground(application);
        }

        public override void ApplicationWillEnterForeground(CCApplication application)
        {
            base.ApplicationWillEnterForeground(application);
        }
    }
}<commit_msg>tell GameAppDelegate to use run the GameScene class as its main window<commit_after>﻿using CocosSharp;

namespace FloatingItems.Android
{
    public class GameAppDelegate : CCApplicationDelegate
    {
        public override void ApplicationDidFinishLaunching(CCApplication application, CCWindow mainWindow)
        {
            //base.ApplicationDidFinishLaunching(application, mainWindow);
            application.PreferMultiSampling = false;
            application.ContentRootDirectory = "Content";

            var bounds = mainWindow.WindowSizeInPixels;
            CCScene.SetDefaultDesignResolution(bounds.Width, bounds.Height, CCSceneResolutionPolicy.ShowAll);

            var gameScene = new GameScene(mainWindow);
            mainWindow.RunWithScene(gameScene);

        }

        public override void ApplicationDidEnterBackground(CCApplication application)
        {
            base.ApplicationDidEnterBackground(application);
        }

        public override void ApplicationWillEnterForeground(CCApplication application)
        {
            base.ApplicationWillEnterForeground(application);
        }
    }
}
{'fraction_non_alphanumeric': 0.058423913043478264, 'fraction_numerical': 0.0, 'mean_word_length': 2.669435215946844, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6192373', 'n_tokens_mistral': 513, 'n_tokens_neox': 480, 'n_words': 100}