<commit_before>#ifndef ENTITY_HPP
#define ENTITY_HPP

class Entity
{
public:
    Entity(float x, float y, float width, float height);
    virtual ~Entity() {};

    virtual void update() = 0;
    virtual void render() = 0;

    float getX() const;
    float getY() const;
    float getWidth() const;
    float getHeight() const;

protected:
    float m_X;
    float m_Y;
    float m_Width;
    float m_Height;
};

#endif // ENTITY_HPP<commit_msg>Added delta parameter to Entity::update()<commit_after>#ifndef ENTITY_HPP
#define ENTITY_HPP

class Entity
{
public:
    Entity(float x, float y, float width, float height);
    virtual ~Entity() {};

    virtual void update(int delta) = 0;
    virtual void render() = 0;

    float getX() const;
    float getY() const;
    float getWidth() const;
    float getHeight() const;

protected:
    float m_X;
    float m_Y;
    float m_Width;
    float m_Height;
};

#endif // ENTITY_HPP
{'fraction_non_alphanumeric': 0.10979547900968784, 'fraction_numerical': 0.004305705059203444, 'mean_word_length': 3.189189189189189, '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': '6914781', 'n_tokens_mistral': 323, 'n_tokens_neox': 308, 'n_words': 100}