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

Event triggered on frame update. More...

#include <main/EngineEvents.hpp>

Inheritance diagram for StevEngine::UpdateEvent:
StevEngine::Event

Public Member Functions

 UpdateEvent (double deltaTime)
 Create update event.
 
const std::string GetEventType () const override
 Get type identifier for this event.
 

Static Public Member Functions

static const std::string GetStaticEventType ()
 

Public Attributes

double deltaTime
 Time since last update in seconds.
 

Detailed Description

Event triggered on frame update.

Constructor & Destructor Documentation

◆ UpdateEvent()

StevEngine::UpdateEvent::UpdateEvent ( double deltaTime)
inline

Create update event.

Parameters
deltaTimeTime since last update

Member Function Documentation

◆ GetEventType()

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