27#include "utility/math/vector.hpp"
29#include "utility/event/event.hpp"
31namespace utility::event
54 std::shared_ptr<Event>
create(
void)
const override;
61 std::shared_ptr<MouseWheelEvent>
createTyped(
void)
const;
Abstract factory interface for creating events.
Base class for events in the event system.
Factory for creating MouseWheelEvent instances.
std::shared_ptr< MouseWheelEvent > createTyped(void) const
Create a strongly-typed MouseWheelEvent.
std::shared_ptr< Event > create(void) const override
Create a MouseWheelEvent as a base Event pointer.
~MouseWheelEvent(void) override
Default destructor.
MouseWheelEvent & setOffset(const math::Vector2F &offset) noexcept
Set the scroll offset.
MouseWheelEvent(void)
Default constructor.
math::Vector2F getOffset(void) const noexcept
Get the scroll offset.
3D vector class inheriting from glm::vec3.