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

#include <mouse_events.hpp>

Inheritance diagram for jng::MouseButtonEvent:
jng::Event jng::MouseButtonPressEvent jng::MouseButtonReleaseEvent

Public Member Functions

Mouse::Code getMouseButton () 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
 

Protected Member Functions

 MouseButtonEvent (Mouse::Code button)
 

Protected Attributes

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

Constructor & Destructor Documentation

◆ MouseButtonEvent()

jng::MouseButtonEvent::MouseButtonEvent ( Mouse::Code  button)
inlineprotected

Member Function Documentation

◆ getMouseButton()

Mouse::Code jng::MouseButtonEvent::getMouseButton ( ) const
inline

Member Data Documentation

◆ m_button

Mouse::Code jng::MouseButtonEvent::m_button
protected

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