25 lines
321 B
C++
25 lines
321 B
C++
#ifndef EVENT_H
|
|
#define EVENT_H
|
|
|
|
#include "pch.hpp"
|
|
|
|
namespace Archimedes {
|
|
|
|
class Event {
|
|
|
|
public:
|
|
|
|
Event(void* ptr) : userData(ptr) {}
|
|
|
|
virtual ~Event() {}
|
|
|
|
virtual operator std::string() const = 0;
|
|
|
|
void* userData;
|
|
};
|
|
}
|
|
|
|
#include "BasicEvents.h"
|
|
|
|
#endif
|