Files
Sun1602/Client/GameClient/KeyMapMgr.h
T
2022-10-26 12:25:11 +08:00

32 lines
648 B
C++

//-------------------------------------------------------------------------------------------
/**
KeyMapMgr
@desc
키 세팅 관련해서 기본 키 정보를 저장해둠.
@todo
-> KeyInfoParser로 이동해야함.
*/
#pragma once
class KeyMapMgr : public util::Singleton<KeyMapMgr>
{
public:
KeyMapMgr(void);
~KeyMapMgr(void);
void Init();
KEYSETCODE GetCode(util::_tstring strKeySet);
const util::_tstring & GetKeyString(KEYSETCODE code);
KEY_SET_ITR GetBegin() { return m_KeyMap.begin(); }
KEY_SET_ITR GetEnd() { return m_KeyMap.end(); }
private:
KEY_SET_MAP m_KeyMap;
};