More work on the event system, sf::Events are completely wrapped now.

This commit is contained in:
MitchellHansen
2017-01-14 13:49:56 -08:00
parent 36851ad011
commit 0e1e9af37c
10 changed files with 195 additions and 255 deletions

View File

@@ -1,11 +1,12 @@
#pragma once
#include <SFML/Graphics.hpp>
#include <list>
#include "Pub_Sub.hpp"
#include "Event.hpp"
#include <memory>
#include "Pub_Sub.h"
class Input : public SfEventPublisher {
class Input : public VrEventPublisher {
public:
Input();
@@ -34,6 +35,6 @@ private:
private:
std::list<vr::Event> event_queue;
std::list<std::unique_ptr<vr::Event>> event_queue;
};