MxEngine
MouseEvent.h
1 #pragma once
2 
3 #include "Core/Event/IEvent.h"
4 #include "Utilities/Math/Math.h"
5 
6 namespace MxEngine
7 {
8  class MouseMoveEvent : public IEvent
9  {
10  MAKE_EVENT(MouseMoveEvent);
11  public:
12  const Vector2 position;
13 
14  inline MouseMoveEvent(float x, float y)
15  : position(x, y) { }
16  };
17 }
Definition: MouseEvent.h:8
Definition: Application.cpp:49