|
#ifndef _GAME_H_INCLUDED_
#define _GAME_H_INCLUDED_
class Game
{
public:
Game();
~Game();
void Init(const string& dirResources, const string& dirUser,
int screenWidth, int screenHeight);
void Render();
// used to display error on screen
const string& GetErr() const
{
return m_strErr;
}
void Update();
private:
int m_timeLast;
int m_timeStart;
string m_strErr;
};
#endif // _GAME_H_INCLUDED_
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
After working in the software industry for many years, I've started my own
games company that specialises in strategy games for mobile platforms.