| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 | #ifndef DEF_INPUT#define DEF_INPUT// Include#include <SDL2/SDL.h>// Classeclass Input{    public:    Input();    ~Input();    void updateEvenements();    bool terminer() const;    void afficherPointeur(bool reponse) const;    void capturerPointeur(bool reponse) const;    bool getTouche(const SDL_Scancode touche) const;    bool getBoutonSouris(const Uint8 bouton) const;    bool mouvementSouris() const;    int getX() const;    int getY() const;    int getXRel() const;    int getYRel() const;    private:    SDL_Event m_evenements;    bool m_touches[SDL_NUM_SCANCODES];    bool m_boutonsSouris[8];    int m_x;    int m_y;    int m_xRel;    int m_yRel;    bool m_terminer;};#endif
 |