Just™ Game Engine
Public Member Functions | List of all members
jng::MouseScrollEvent Class Reference

#include <mouse_events.hpp>

Inheritance diagram for jng::MouseScrollEvent:
jng::Event

Public Member Functions

 MouseScrollEvent (const float xOffset, const float yOffset)
 
float getXOffset () const
 
float getYOffset () const
 
- Public Member Functions inherited from jng::Event
virtual ~Event ()=default
 
virtual EventType getType () const =0
 
virtual const char * getName () const =0
 
virtual std::string to_string () const
 
bool isHandled () const
 

Additional Inherited Members

- Protected Attributes inherited from jng::Event
bool m_handled = false
 

Constructor & Destructor Documentation

◆ MouseScrollEvent()

jng::MouseScrollEvent::MouseScrollEvent ( const float  xOffset,
const float  yOffset 
)
inline

Member Function Documentation

◆ getXOffset()

float jng::MouseScrollEvent::getXOffset ( ) const
inline

◆ getYOffset()

float jng::MouseScrollEvent::getYOffset ( ) const
inline

The documentation for this class was generated from the following file: