#include "Input.h" // Constructeur et Destructeur Input::Input() : m_x(0), m_y(0), m_xRel(0), m_yRel(0), m_terminer(false), m_relativeMouse(false), m_windowHalfHeight(0), m_windowHalfWidth(0) { // Initialisation du tableau m_touches[] for(int i(0); i < SDLK_LAST; i++) m_touches[i] = false; std::cout << "Il y a "<w / 2; m_windowHalfHeight = activWindow->h / 2; } int Input::getWinHalfH() { return m_windowHalfHeight; } int Input::getWinHalfW() { return m_windowHalfWidth; }