Attachment: Make class members non-public

This commit is contained in:
Lioncash 2017-01-22 23:53:13 -05:00
parent a2caa0d733
commit 4b2f40a634

View file

@ -20,15 +20,16 @@ public:
void Reset();
std::string GetName() const override;
const char* const name;
WiimoteEmu::ExtensionReg& reg;
protected:
// Default radius for attachment analog sticks.
static constexpr ControlState DEFAULT_ATTACHMENT_STICK_RADIUS = 1.0;
u8 id[6];
u8 calibration[0x10];
protected:
// Default radius for attachment analog sticks.
static constexpr ControlState DEFAULT_ATTACHMENT_STICK_RADIUS = 1.0;
private:
const char* const name;
WiimoteEmu::ExtensionReg& reg;
};
class None : public Attachment