StevEngine
StevEngine is a customizable C++ game engine.
Loading...
Searching...
No Matches
StevEngine::InputMouseWheelEvent Class Reference

Event triggered when mouse wheel is scrolled. More...

#include <inputs/InputSystem.hpp>

Inheritance diagram for StevEngine::InputMouseWheelEvent:
StevEngine::Event

Public Member Functions

 InputMouseWheelEvent (float value)
 Create mouse wheel event.
 
const std::string GetEventType () const override
 Get type identifier for this event.
 

Static Public Member Functions

static const std::string GetStaticEventType ()
 

Public Attributes

float value
 Scroll amount and direction.
 

Detailed Description

Event triggered when mouse wheel is scrolled.

Constructor & Destructor Documentation

◆ InputMouseWheelEvent()

StevEngine::InputMouseWheelEvent::InputMouseWheelEvent ( float value)
inline

Create mouse wheel event.

Parameters
valueAmount and direction of scroll

Member Function Documentation

◆ GetEventType()

const std::string StevEngine::InputMouseWheelEvent::GetEventType ( ) const
inlineoverridevirtual

Get type identifier for this event.

Returns
String identifier for event type

Implements StevEngine::Event.


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