34 RFKey::RFKey(
int key){ m_Key = key; }
35 RFKey::RFKey(
const RFKey& key){ m_Key = key.GetKey(); }
38 void RFKey::operator=(
const RFKey& key){ m_Key = key.GetKey(); }
40 bool RFKey::operator==(
int key)
const {
return (m_Key == key); }
42 bool RFKey::operator==(
const RFKey& key)
const {
return (m_Key == key.GetKey()); }
44 int RFKey::GetKey()
const {
return m_Key; }
46 bool RFKey::IsSame(
const RFKey& key)
const {
47 return m_Key == key.GetKey();