StevEngine
StevEngine is a customizable C++ game engine.
Loading...
Searching...
No Matches
StevEngine::ChildEvent< EventType > Class Template Reference

Wrapper for events from child objects. More...

#include <main/GameObject.hpp>

Inheritance diagram for StevEngine::ChildEvent< EventType >:
StevEngine::Event

Public Member Functions

 ChildEvent (const EventType &event)
 
const std::string GetEventType () const override
 Get type identifier for this event.
 

Static Public Member Functions

static const std::string GetStaticEventType ()
 

Public Attributes

const EventType & event
 Original event.
 

Detailed Description

template<typename EventType>
class StevEngine::ChildEvent< EventType >

Wrapper for events from child objects.

Template Parameters
EventTypeType of wrapped event

Member Function Documentation

◆ GetEventType()

template<typename EventType>
const std::string StevEngine::ChildEvent< EventType >::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: