2015-08-17 05:26:58 +00:00
|
|
|
#ifndef __RETRO_CGAMESTATE_HPP__
|
|
|
|
#define __RETRO_CGAMESTATE_HPP__
|
|
|
|
|
2015-08-17 20:33:58 +00:00
|
|
|
#include <memory>
|
|
|
|
#include "CPlayerState.hpp"
|
|
|
|
#include "CGameOptions.hpp"
|
|
|
|
|
2015-08-17 22:05:00 +00:00
|
|
|
namespace Retro
|
|
|
|
{
|
|
|
|
namespace Common
|
|
|
|
{
|
|
|
|
|
2015-08-17 05:26:58 +00:00
|
|
|
class CGameState
|
|
|
|
{
|
2015-08-17 20:33:58 +00:00
|
|
|
std::unique_ptr<CPlayerState> m_playerState;
|
|
|
|
CGameOptions m_gameOpts;
|
|
|
|
public:
|
|
|
|
CGameState()
|
|
|
|
{
|
|
|
|
m_playerState.reset(new CPlayerState);
|
|
|
|
}
|
2015-08-17 05:26:58 +00:00
|
|
|
};
|
|
|
|
|
2015-08-17 22:05:00 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-08-17 05:26:58 +00:00
|
|
|
#endif // __RETRO_CGAMESTATE_HPP__
|