2013-02-03 19:03:36 +00:00
|
|
|
#include "object/robotmain.h"
|
2012-10-11 21:09:29 +00:00
|
|
|
|
|
|
|
|
2013-02-16 21:37:43 +00:00
|
|
|
template<> CRobotMain* CSingleton<CRobotMain>::m_instance = nullptr;
|
2012-10-11 21:09:29 +00:00
|
|
|
|
2013-05-04 13:44:17 +00:00
|
|
|
CRobotMain::CRobotMain(CApplication* app, bool loadProfile)
|
2013-03-27 22:48:44 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
CRobotMain::~CRobotMain()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2012-10-11 21:09:29 +00:00
|
|
|
bool CRobotMain::GetGlint()
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
const InputBinding& CRobotMain::GetInputBinding(InputSlot slot)
|
|
|
|
{
|
|
|
|
unsigned int index = static_cast<unsigned int>(slot);
|
|
|
|
assert(index >= 0 && index < INPUT_SLOT_MAX);
|
|
|
|
return m_inputBindings[index];
|
|
|
|
}
|
|
|
|
|