This commit is contained in:
Neeflix
2018-05-31 20:25:10 +02:00
3 changed files with 2 additions and 16 deletions

View File

@@ -26,12 +26,6 @@
namespace Input namespace Input
{ {
class EventHandler
{
public:
void handle(Event& event);
};
class Detector class Detector
{ {

View File

@@ -37,6 +37,7 @@ public:
this->input_driver = NULL; this->input_driver = NULL;
} }
// This function is intended to be non pure, if it is called when the derived class doesn't exist anymore
virtual void handle(Event& event); virtual void handle(Event& event);
private: private:

View File

@@ -4,13 +4,4 @@
* Created on: May 3, 2018 * Created on: May 3, 2018
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert, Rafael Vinci, Dr. Franca Rupprecht * Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert, Rafael Vinci, Dr. Franca Rupprecht
*/ */
#include "catch.hpp" #include "../catch.hpp"
#include "../input/Detector.h"
#include "../input/InputEvent.h"
#include <set>
using namespace Input;