<commit_before>//////////////////////////////////////////////////////////
/// Copyright 2013 <NAME> (<EMAIL>)
/// Licence : Simplified BSD Licence (see inclued LICENCE)
//////////////////////////////////////////////////////////
#pragma once

#include <SFML/Graphics/Transformable.hpp>
#include <SFML/Graphics/Drawable.hpp>
#include <SFML/Graphics/Vertex.hpp>
#include <memory>
#include "resources.h"

class CONTENTMANAGER;

class STATICSPRITE : public sf::Drawable, public sf::Transformable
{
public:

  STATICSPRITE();
  
  bool Load(const std::string& filename, CONTENTMANAGER& contentManager);
  bool Save(const std::string& filename);

protected:

  void draw(sf::RenderTarget& target, sf::RenderStates states) const;
  
private:

  sf::Vertex vertex[4];
  std::shared_ptr<TEXTURE> texture;
};
<commit_msg>staticsprite implements the drawable interface<commit_after>//////////////////////////////////////////////////////////
/// Copyright 2013 <NAME> (<EMAIL>)
/// Licence : Simplified BSD Licence (see inclued LICENCE)
//////////////////////////////////////////////////////////
#pragma once

#include <SFML/Graphics/Transformable.hpp>
#include <SFML/Graphics/Vertex.hpp>
#include <memory>
#include "drawable.h"
#include "resources.h"

class CONTENTMANAGER;

class STATICSPRITE : public DRAWABLE, public sf::Transformable
{
public:

  STATICSPRITE();
  
  bool Load(const std::string& filename, CONTENTMANAGER& contentManager);
  bool Save(const std::string& filename);

protected:

  void draw(sf::RenderTarget& target, sf::RenderStates states) const;
  
private:

  sf::Vertex vertex[4];
  std::shared_ptr<TEXTURE> texture;
};

{'fraction_non_alphanumeric': 0.2535211267605634, 'fraction_numerical': 0.00612369871402327, 'mean_word_length': 2.688487584650113, 'pattern_counts': {'":': 0, '<': 16, '<?xml version=': 0, '>': 16, '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': '7525804', 'n_tokens_mistral': 483, 'n_tokens_neox': 457, 'n_words': 116}