metaforce/Runtime/CGameState.hpp

20 lines
362 B
C++
Raw Normal View History

2015-08-16 22:26:58 -07:00
#ifndef __RETRO_CGAMESTATE_HPP__
#define __RETRO_CGAMESTATE_HPP__
2015-08-17 13:33:58 -07:00
#include <memory>
#include "CPlayerState.hpp"
#include "CGameOptions.hpp"
2015-08-16 22:26:58 -07:00
class CGameState
{
2015-08-17 13:33:58 -07:00
std::unique_ptr<CPlayerState> m_playerState;
CGameOptions m_gameOpts;
public:
CGameState()
{
m_playerState.reset(new CPlayerState);
}
2015-08-16 22:26:58 -07:00
};
#endif // __RETRO_CGAMESTATE_HPP__