27 lines
668 B
C++
27 lines
668 B
C++
/*
|
|
* =====================================================================================
|
|
*
|
|
* Filename: NetworkInputHandler.hpp
|
|
*
|
|
* Description:
|
|
*
|
|
* Created: 21/01/2018 10:54:01
|
|
*
|
|
* Author: Quentin Bazin, <quent42340@gmail.com>
|
|
*
|
|
* =====================================================================================
|
|
*/
|
|
#ifndef NETWORKINPUTHANDLER_HPP_
|
|
#define NETWORKINPUTHANDLER_HPP_
|
|
|
|
#include <gk/core/input/InputHandler.hpp>
|
|
|
|
class NetworkInputHandler : public gk::InputHandler {
|
|
public:
|
|
void setKeyPressed(gk::GameKey key, bool isPressed) {
|
|
m_keysPressed[key] = isPressed;
|
|
}
|
|
};
|
|
|
|
#endif // NETWORKINPUTHANDLER_HPP_
|