Tetris/scoreitem.hpp
2014-11-07 20:47:50 +01:00

33 lines
431 B
C++

#ifndef SCOREITEM_H
#define SCOREITEM_H
# include <iostream>
# include <SDL/SDL.h>
# include <SDL/SDL_ttf.h>
# include "game.hpp"
# include "global.hpp"
using namespace std;
class ScoreItem
{
public:
ScoreItem ( string Name, int Lines );
~ScoreItem();
int GetLines();
void Draw( game * Game, int y );
private:
string Name;
int Lines;
SDL_Surface * message;
SDL_Color textColor;
};
#endif // SCOREITEM_H