I do not understand why my Frame function in my SystemClass is returning false. It is checking too see if the escape button is pressed, then why return false? Also what is returning false in this method...is it the m_Input?Code://Code from my SystemClass! bool SystemClass::Frame() { bool result; //check if the user pressed escape and wants to exit the application. if (m_Input->IsKeyDown(VK_ESCAPE)) { return false; } } //Code from my InputClass! void InputClass::KeyDown(unsigned int input) { // If a key is pressed then save that state in the key array. m_keys[input] = true; return; }
I am a little confused, could someone please clarify