Add Event system
- Add abstract Event class - Add EventDispatcher - Add Mouse, Key and Window Events
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
#include "copium/event/Event.h"
|
||||
|
||||
namespace Copium
|
||||
{
|
||||
class MouseScrollEvent : public Event
|
||||
{
|
||||
private:
|
||||
int scrollX;
|
||||
int scrollY;
|
||||
public:
|
||||
MouseScrollEvent(int scrollX, int scrollY);
|
||||
|
||||
int GetScrollX() const;
|
||||
int GetScrollY() const;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user