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

Event containing raw SDL event. More...

#include <main/EngineEvents.hpp>

Inheritance diagram for StevEngine::SDLEvent:
StevEngine::Event

Public Member Functions

 SDLEvent (SDL_Event event)
 Create SDL event wrapper.
 
const std::string GetEventType () const override
 Get type identifier for this event.
 

Static Public Member Functions

static const std::string GetStaticEventType ()
 

Public Attributes

SDL_Event event
 Raw SDL event data.
 

Detailed Description

Event containing raw SDL event.

Constructor & Destructor Documentation

◆ SDLEvent()

StevEngine::SDLEvent::SDLEvent ( SDL_Event event)
inline

Create SDL event wrapper.

Parameters
eventRaw SDL_Event

Member Function Documentation

◆ GetEventType()

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