<commit_before>class AnimatedEntityRenderer{
  /**
  * Creates a AnimatedEntityRederer object that animates the player character
  * @param {Entity} entity the character that is to be animated
  * @param {String} url the location of the images of the character
  * @param {boolean} mirrorBasedOnVel the direction character faces based on their velocity 
  */
  constructor(entity, url, mirrorBasedOnVel = false){
    this.entity = entity;
    this.lastDirection = 1;
    this.httpRequest = new XMLHttpRequest();
    this.mirrorBasedOnVel = mirrorBasedOnVel;

    let self = this;
    this.httpRequest.onreadystatechange = function(){self.finish()};<commit_msg>fixed the jsDocs in AnimatedEntityRenderer.js<commit_after>/** Animates the frames of the player character*/
class AnimatedEntityRenderer{
  /**
  * Retrieves the frames of the character animations
  * @constructor
  * @param {Entity} entity the character that is to be animated
  * @param {String} url the location of the images of the character
  * @param {boolean} mirrorBasedOnVel the direction character faces based on their velocity
  */
  constructor(entity, url, mirrorBasedOnVel = false){
    this.entity = entity;
    this.lastDirection = 1;
    this.httpRequest = new XMLHttpRequest();
    this.mirrorBasedOnVel = mirrorBasedOnVel;

    let self = this;
    this.httpRequest.onreadystatechange = function(){self.finish()};
{'fraction_non_alphanumeric': 0.08470926058865758, 'fraction_numerical': 0.0014357501794687725, 'mean_word_length': 4.340996168582375, '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': '6789300', 'n_tokens_mistral': 382, 'n_tokens_neox': 373, 'n_words': 132}