MxEngine
src
Core
Event
Events
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
}
MxEngine::MouseMoveEvent
Definition:
MouseEvent.h:8
MxEngine
Definition:
Application.cpp:49
Generated by
1.8.12