metaforce/Runtime/Common/CGameState.hpp

28 lines
405 B
C++
Raw Normal View History

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"
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 05:26:58 +00:00
#endif // __RETRO_CGAMESTATE_HPP__