mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 17:04:55 +00:00
various implementations
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define __RETRO_CPLAYERSTATE_HPP__
|
||||
|
||||
#include "RetroTypes.hpp"
|
||||
#include "CBasics.hpp"
|
||||
#include "CStaticInterference.hpp"
|
||||
|
||||
namespace Retro
|
||||
@@ -12,13 +13,17 @@ class CPlayerState
|
||||
CStaticInterference m_staticIntf;
|
||||
class CPowerUp
|
||||
{
|
||||
int m_a;
|
||||
int m_b;
|
||||
int m_a = 0;
|
||||
int m_b = 0;
|
||||
public:
|
||||
CPowerUp() : m_a(-1), m_b(-1) {}
|
||||
CPowerUp() {}
|
||||
CPowerUp(int a, int b) : m_a(a), m_b(b) {}
|
||||
};
|
||||
CPowerUp m_powerups[29];
|
||||
|
||||
public:
|
||||
CPlayerState() : m_staticIntf(5) {}
|
||||
CPlayerState(CInputStream& stream);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user