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

Event triggered when mouse button is released. More...

#include <inputs/InputSystem.hpp>

Inheritance diagram for StevEngine::InputMouseButtonUpEvent:
StevEngine::Event

Public Member Functions

 InputMouseButtonUpEvent (Uint8 button)
 Create mouse button up event.
 
const std::string GetEventType () const override
 Get type identifier for this event.
 

Static Public Member Functions

static const std::string GetStaticEventType ()
 

Public Attributes

Uint8 button
 ID of released button.
 

Detailed Description

Event triggered when mouse button is released.

Constructor & Destructor Documentation

◆ InputMouseButtonUpEvent()

StevEngine::InputMouseButtonUpEvent::InputMouseButtonUpEvent ( Uint8 button)
inline

Create mouse button up event.

Parameters
buttonID of released button

Member Function Documentation

◆ GetEventType()

const std::string StevEngine::InputMouseButtonUpEvent::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: