<commit_before>/*
* Controls constructor
* 
* @class Roguelike.Controls
* @classdesc The object that handles user input
*
*/
Roguelike.Controls = function(){

    /*
    * @property {bool} left - The left key on the keyboard, pressed or not
    */
    this.left = false;

    /*
    * @property {bool} right - The right key on the keyboard, pressed or not
    */
    this.right = false;

    /*
    * @property {bool} up - The up key on the keyboard, pressed or not
    */
    this.up = false;

    /*
    * @property {bool} down - The down key on the keyboard, pressed or not
    */
    this.down = false;

    /*
    * @property {int} current - The current key being pressed
    */
    this.current = 0;<commit_msg>I'm going to add a keydelay between inputs.<commit_after>/*
* Controls constructor
* 
* @class Roguelike.Controls
* @classdesc The object that handles user input
*
*/
Roguelike.Controls = function(){

    /*
    * @property {int} keyDelay - The delay between two actions whenever a user holds down a key, in miliseconds
    */
    this.keyDelay = 150;

    /*
    * @property {bool} left - The left key on the keyboard, pressed or not
    */
    this.left = false;

    /*
    * @property {bool} right - The right key on the keyboard, pressed or not
    */
    this.right = false;

    /*
    * @property {bool} up - The up key on the keyboard, pressed or not
    */
    this.up = false;

    /*
    * @property {bool} down - The down key on the keyboard, pressed or not
    */
    this.down = false;
{'fraction_non_alphanumeric': 0.11272247857613711, 'fraction_numerical': 0.0026367831245880024, 'mean_word_length': 2.3, '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': '3462448', 'n_tokens_mistral': 470, 'n_tokens_neox': 449, 'n_words': 175}