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

Event triggered when window is moved. More...

#include <main/EngineEvents.hpp>

Inheritance diagram for StevEngine::WindowMoveEvent:
StevEngine::Event

Public Member Functions

 WindowMoveEvent (int x, int y)
 Create window move event.
 
const std::string GetEventType () const override
 Get type identifier for this event.
 

Static Public Member Functions

static const std::string GetStaticEventType ()
 

Public Attributes

int x
 
int y
 New window position.
 

Detailed Description

Event triggered when window is moved.

Constructor & Destructor Documentation

◆ WindowMoveEvent()

StevEngine::WindowMoveEvent::WindowMoveEvent ( int x,
int y )
inline

Create window move event.

Parameters
xNew X position
yNew Y position

Member Function Documentation

◆ GetEventType()

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