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

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

#include <inputs/InputSystem.hpp>

Inheritance diagram for StevEngine::InputMouseButtonDownEvent:
StevEngine::Event

Public Member Functions

 InputMouseButtonDownEvent (Uint8 button)
 Create mouse button down 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 pressed button.
 

Detailed Description

Event triggered when mouse button is pressed.

Constructor & Destructor Documentation

◆ InputMouseButtonDownEvent()

StevEngine::InputMouseButtonDownEvent::InputMouseButtonDownEvent ( Uint8 button)
inline

Create mouse button down event.

Parameters
buttonID of pressed button

Member Function Documentation

◆ GetEventType()

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