<commit_before>﻿using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class CityController : MonoBehaviour {

    public DCity dCity;
    public Sprite sprite;
	// Use this for initialization
	void Start () {

	}

	// Update is called once per frame
	void Update () {

	}

    internal void ConnectToDataEngine(DGame dGame, string cityName)
    {
      GetComponent<SpriteRenderer>().sprite =
      Resources.Load(Constants.CITY_SPRITE_PATH + cityName) as Sprite;
        dCity = new DCity(cityName, this);
        dGame.Cities.Add(cityName, dCity);
    }
}
<commit_msg>multiple cities loaded from seperate json<commit_after>﻿using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class CityController : MonoBehaviour {

    public DCity dCity;
    public Sprite sprite;
	// Use this for initialization
	void Start () {

	}

	// Update is called once per frame
	void Update () {

	}

    internal void ConnectToDataEngine(DGame dGame, string cityName)
    {
      GetComponent<SpriteRenderer>().sprite =
      Resources.Load<Sprite>(Constants.CITY_SPRITE_PATH + cityName);
        dCity = new DCity(cityName, this);
        dGame.Cities.Add(cityName, dCity);
    }
}

{'fraction_non_alphanumeric': 0.09047619047619047, 'fraction_numerical': 0.0, 'mean_word_length': 3.535971223021583, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '6603518', 'n_tokens_mistral': 386, 'n_tokens_neox': 375, 'n_words': 101}