<commit_before>'use strict';

Game.Scene = function() {

  var spritesheet = [];
  var activatedBackground = 0;
  var music = null;

  var itemAlpha = [];
  var spritesheetAlpha = [];
  var itemInteractiveness = [];

  this.background = null;
  this.item = {};
  var itemsArray = [];

  var backgroundMask = new Game.Rectangle(renderer.view.width, renderer.view.height);
  backgroundMask.setAlpha(0);

  var subtitle = new Game.Text("", {font: "60px Arial", fontWeight: 'bold',
                                //stroke: 'black', strokeThickness: 10,
                                dropShadow: true, dropShadowBlur: 10,
                                fill: 0xFFFFFF, align: "left"});
  subtitle.setAchor(0.5, 0.5);
  subtitle.setPosition(960, 1000);

  this.setSubtitle = function setSubtitle(text) {
    subtitle.text = text;
    UpdateScreen();
  }

  this.setMusic = function(musicDirectory) {
    music = "audio/" + musicDirectory;
  }

  this.playSceneMusic = function() {
    if (music != null)
      playMusic(music);
    else
      console.log("ERROR: No music is set to this scene");
  }

  this.addAllItemsToScene = function() {
    // Add from object to array
    for (var singleItem in this.item) {
      itemsArray.push(this.item[singleItem]);
    }<commit_msg>changed the font of subtitles<commit_after>'use strict';

Game.Scene = function() {

  var spritesheet = [];
  var activatedBackground = 0;
  var music = null;

  var itemAlpha = [];
  var spritesheetAlpha = [];
  var itemInteractiveness = [];

  this.background = null;
  this.item = {};
  var itemsArray = [];

  var backgroundMask = new Game.Rectangle(renderer.view.width, renderer.view.height);
  backgroundMask.setAlpha(0);

  var subtitle = new Game.Text("", {font: "60px SimSun", fontWeight: 'bold',
                                //stroke: 'black', strokeThickness: 10,
                                dropShadow: true, dropShadowBlur: 10,
                                fill: 0xFFFFFF, align: "left"});
  subtitle.setAchor(0.5, 0.5);
  subtitle.setPosition(960, 1000);

  this.setSubtitle = function setSubtitle(text) {
    subtitle.text = text;
    UpdateScreen();
  }

  this.setMusic = function(musicDirectory) {
    music = "audio/" + musicDirectory;
  }

  this.playSceneMusic = function() {
    if (music != null)
      playMusic(music);
    else
      console.log("ERROR: No music is set to this scene");
  }

  this.addAllItemsToScene = function() {
    // Add from object to array
    for (var singleItem in this.item) {
      itemsArray.push(this.item[singleItem]);
    }
{'fraction_non_alphanumeric': 0.13011297234125438, 'fraction_numerical': 0.015582391897156213, 'mean_word_length': 2.5916083916083914, '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': '2181690', 'n_tokens_mistral': 841, 'n_tokens_neox': 777, 'n_words': 190}