<commit_before>package game.player;

public abstract class Personality {
    protected static final int HEALTH_DEFAULT = 20;
    protected static final int EXPERIENCE_DEFAULT = 5;
    protected static final int ATTACK_DEFAULT = 5;
    protected static final int DEFENCE_DEFAULT = 5;<commit_msg>update Personality with abstract methods<commit_after>package game.player;

public abstract class Personality {
    public static final int HEALTH_DEFAULT = 0;
    public static final int EXPERIENCE_DEFAULT = 0;
    public static final int ATTACK_DEFAULT = 0;
    public static final int DEFENCE_DEFAULT = 0;

    public abstract void setHealth(int health);
    public abstract void setExperience(int experience);
    public abstract void setAttack(int attack);
    public abstract void setDefence(int defence);

    public abstract int getDefence();
    public abstract int getAttack();
    public abstract int getExperience();
    public abstract int getHealth();
{'fraction_non_alphanumeric': 0.054223149113660066, 'fraction_numerical': 0.009384775808133473, 'mean_word_length': 4.363128491620111, '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': '5194998', 'n_tokens_mistral': 253, 'n_tokens_neox': 236, 'n_words': 99}