<commit_before>/******************************************************************************
    SDLDrawable.h

  Copyright (c) 2013 <NAME>
  All rights reserved.

******************************************************************************/
#ifndef GAMELIB_SDL_DRAWABLE_HEADERS
#define GAMELIB_SDL_DRAWABLE_HEADERS

#include <iostream>
#include <string>

#include "SDL.h"

#include "GCoords.h"

#define DEBUG_SDL_DRAWABLE
#define DEBUG_SDL_DRAWABLE_OBJ

/*

  std::list<SDLDrawable*> drawables;

class SDLDrawable
{
  public:
    // ...
  private:
    // ...
};
class SDLGradient: public SDLDrawable
{
  public:
    // ...
  private:
    // ...
};
class SDLFont: public SDLDrawable
{
  public:
    // ...
  private:
    // ...
};

*/

class SDLDrawable
{
  public:
    virtual void Draw ( SDL_Surface *video_buffer ) = 0;
};

#endif // GAMELIB_SDL_DRAWABLE_HEADERS defined
<commit_msg>(Added) X, Y Arguments onto Draw Method<commit_after>/******************************************************************************
    SDLDrawable.h

  Copyright (c) 2013 <NAME>
  All rights reserved.

******************************************************************************/
#ifndef GAMELIB_SDL_DRAWABLE_HEADERS
#define GAMELIB_SDL_DRAWABLE_HEADERS

#include <iostream>
#include <string>

#include "SDL.h"

//#include "GCoords.h"

#define DEBUG_SDL_DRAWABLE
#define DEBUG_SDL_DRAWABLE_OBJ

/*

  std::list<SDLDrawable*> drawables;

class SDLDrawable
{
  public:
    // ...
  private:
    // ...
};
class SDLGradient: public SDLDrawable
{
  public:
    // ...
  private:
    // ...
};
class SDLFont: public SDLDrawable
{
  public:
    // ...
  private:
    // ...
};

*/

class SDLDrawable
{
  public:
    virtual bool Draw ( Gfx *engine, unsigned int x, unsigned int y ) const = 0;
};

#endif // GAMELIB_SDL_DRAWABLE_HEADERS defined

{'fraction_non_alphanumeric': 0.28111353711790393, 'fraction_numerical': 0.0054585152838427945, 'mean_word_length': 3.7242268041237114, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '3171488', 'n_tokens_mistral': 620, 'n_tokens_neox': 582, 'n_words': 123}