adding comment

This commit is contained in:
Jonas Zeunert
2018-05-31 20:24:31 +02:00
parent 4c593c9d29
commit ab63adde93
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

@@ -34,6 +34,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;