summaryrefslogtreecommitdiffstats
path: root/src/ui/test/stubs/robotmain_stub.cpp
blob: 93e0e82f55f478883bd24a695eff7b45872a96f6 (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];
}