galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
Loading...
Searching...
No Matches
MousePressed.cpp
Go to the documentation of this file.
1
7
8#include "MousePressed.hpp"
9
10namespace galaxy
11{
12 MousePressed::MousePressed(const float xpos, const float ypos, const int clicks, const MouseButton button) noexcept
13 : m_xpos {xpos}
14 , m_ypos {ypos}
15 , m_clicks {clicks}
16 , m_button {button}
17 {
18 }
19} // namespace galaxy
Application.hpp galaxy.
MouseButton
Enum class representing mouse buttons.
MousePressed(const float xpos, const float ypos, const int clicks, const MouseButton button) noexcept
Constructor.