<commit_before>/**
 * Represents an entity type.
 */
class EntityType {
    constructor(id, texture, size = {width: 1, height: 1},
                type = null, attackable = false, health = null, armor = null, experience = 1) {
        this.id = id;
        this.texture = texture;
        this.size = size;

        this.type = type;
        this.attackable = attackable;
        this.health = health;
        this.armor = armor;
        this.experience = experience;
    }
}

export default EntityType;
<commit_msg>Renamed type constructor parameter to category, to reduce confusion between entity types, and entity type types. whoa<commit_after>/**
 * Represents an entity type.
 */
class EntityType {
    constructor(id, texture, size = {width: 1, height: 1},
                category = null, attackable = false, health = null, armor = null, experience = 1) {
        this.id = id;
        this.texture = texture;
        this.size = size;

        this.category = category;
        this.attackable = attackable;
        this.health = health;
        this.armor = armor;
        this.experience = experience;
    }
}

export default EntityType;

{'fraction_non_alphanumeric': 0.10540069686411149, 'fraction_numerical': 0.005226480836236934, 'mean_word_length': 2.282857142857143, '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': '5032550', 'n_tokens_mistral': 331, 'n_tokens_neox': 315, 'n_words': 102}