<commit_before>/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * File:   Sprite.h
 * Author: interloper
 *
 * Created on January 31, 2016, 1:42 PM
 */

#ifndef SPRITE_H
#define SPRITE_H

#include <iostream>
#include <string>
#include <vector>

#include <SDL2/SDL.h>
#include <SDL2/SDL_ttf.h>

#include "Vec2.h"
#include "Node.h"
#include "Director.h"

class Sprite : public Node{
public:
    /** Constructors */
    Sprite();
    Sprite(std::string p_sprite_path);
    virtual ~Sprite();

    /** Image */
    std::string getSpritePath();

protected:
    /** Image */
    std::string m_sprite_path;
};

#endif /* SPRITE_H */<commit_msg>Add virtual update() function<commit_after>/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * File:   Sprite.h
 * Author: interloper
 *
 * Created on January 31, 2016, 1:42 PM
 */

#ifndef SPRITE_H
#define SPRITE_H

#include <iostream>
#include <string>
#include <vector>

#include <SDL2/SDL.h>
#include <SDL2/SDL_ttf.h>

#include "Vec2.h"
#include "Node.h"
#include "Director.h"

class Sprite : public Node{
public:
    /** Constructors */
    Sprite();
    Sprite(std::string p_sprite_path);
    virtual ~Sprite();

    /** Image */
    std::string getSpritePath();
    
    /** Sprite */
    virtual void update() = 0;

protected:
    /** Image */
    std::string m_sprite_path;
};

#endif /* SPRITE_H */
{'fraction_non_alphanumeric': 0.13960639606396064, 'fraction_numerical': 0.015375153751537515, 'mean_word_length': 3.38544474393531, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '543186', 'n_tokens_mistral': 585, 'n_tokens_neox': 553, 'n_words': 164}