ES-DE/src/GameData.h
Aloshi 80740a2bd0 Fixed tiling being super slow.
See changelog.txt (September 7) for a list of everything.
2012-09-07 16:44:07 -05:00

35 lines
766 B
C++

#ifndef _GAMEDATA_H_
#define _GAMEDATA_H_
#include <string>
#include "FileData.h"
#include "SystemData.h"
//This class holds information about a game: at the least, its name, system, and path. Additional information is optional and read by other classes.
class GameData : public FileData
{
public:
GameData(SystemData* system, std::string path, std::string name);
void set(std::string name = "", std::string description = "", std::string imagePath = "");
std::string getName();
std::string getPath();
std::string getBashPath();
std::string getDescription();
std::string getImagePath();
bool isFolder();
private:
SystemData* mSystem;
std::string mPath;
std::string mName;
//extra data
std::string mDescription;
std::string mImagePath;
};
#endif