R-Type
Public Member Functions | Public Attributes | List of all members
GameEngine::SEvent Class Reference

Class representing a custom event wrapper for sf::Event. More...

#include <SfmlTypes.hpp>

Inheritance diagram for GameEngine::SEvent:
GameEngine::IEvent< sf::Event >

Public Member Functions

 SEvent ()=default
 Default constructor for SEvent. More...
 
sf::Event & getEvent () override
 Returns the wrapped sf::Event. More...
 

Public Attributes

sf::Event::EventType & type = _event.type
 Reference to the EventType of the wrapped sf::Event. More...
 

Detailed Description

Class representing a custom event wrapper for sf::Event.

Constructor & Destructor Documentation

◆ SEvent()

GameEngine::SEvent::SEvent ( )
default

Default constructor for SEvent.

Member Function Documentation

◆ getEvent()

sf::Event& GameEngine::SEvent::getEvent ( )
inlineoverridevirtual

Returns the wrapped sf::Event.

Returns
Reference to the sf::Event instance

Implements GameEngine::IEvent< sf::Event >.

Member Data Documentation

◆ type

sf::Event::EventType& GameEngine::SEvent::type = _event.type

Reference to the EventType of the wrapped sf::Event.


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