metaforce/Runtime/CPlayerState.hpp

32 lines
555 B
C++
Raw Normal View History

2015-08-17 05:26:58 +00:00
#ifndef __RETRO_CPLAYERSTATE_HPP__
#define __RETRO_CPLAYERSTATE_HPP__
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"
namespace Retro
{
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 05:26:58 +00:00
#endif // __RETRO_CPLAYERSTATE_HPP__