2016-02-13 09:02:47 +00:00
|
|
|
#ifndef __PSHAG_CPLAYERSTATE_HPP__
|
|
|
|
#define __PSHAG_CPLAYERSTATE_HPP__
|
2015-08-17 05:26:58 +00:00
|
|
|
|
2015-08-19 05:48:57 +00:00
|
|
|
#include "RetroTypes.hpp"
|
2015-08-20 02:52:07 +00:00
|
|
|
#include "CBasics.hpp"
|
2015-08-17 20:33:58 +00:00
|
|
|
#include "CStaticInterference.hpp"
|
2015-08-23 23:58:07 +00:00
|
|
|
#include "IOStreams.hpp"
|
2015-08-17 20:33:58 +00:00
|
|
|
|
2016-02-13 09:02:47 +00:00
|
|
|
namespace pshag
|
2015-08-17 22:05:00 +00:00
|
|
|
{
|
|
|
|
|
2015-08-18 05:54:43 +00:00
|
|
|
class CPlayerState
|
2015-08-17 05:26:58 +00:00
|
|
|
{
|
2015-08-17 20:33:58 +00:00
|
|
|
CStaticInterference m_staticIntf;
|
|
|
|
class CPowerUp
|
|
|
|
{
|
2015-08-20 02:52:07 +00:00
|
|
|
int m_a = 0;
|
|
|
|
int m_b = 0;
|
2015-08-17 20:33:58 +00:00
|
|
|
public:
|
2015-08-20 02:52:07 +00:00
|
|
|
CPowerUp() {}
|
2015-08-17 20:33:58 +00:00
|
|
|
CPowerUp(int a, int b) : m_a(a), m_b(b) {}
|
|
|
|
};
|
|
|
|
CPowerUp m_powerups[29];
|
2015-08-20 02:52:07 +00:00
|
|
|
|
|
|
|
public:
|
|
|
|
CPlayerState() : m_staticIntf(5) {}
|
|
|
|
CPlayerState(CInputStream& stream);
|
2015-08-17 05:26:58 +00:00
|
|
|
};
|
|
|
|
|
2015-08-17 22:05:00 +00:00
|
|
|
}
|
|
|
|
|
2016-02-13 09:02:47 +00:00
|
|
|
#endif // __PSHAG_CPLAYERSTATE_HPP__
|