summaryrefslogtreecommitdiffstats
path: root/test/unit/ui/stubs/robotmain_stub.cpp
blob: a36b1a19cf2f4b94b243a91aea27feab9fd5f386 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "object/robotmain.h"


template<> CRobotMain* CSingleton<CRobotMain>::mInstance = nullptr;

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];
}