Raven Engine v0.1
Loading...
Searching...
No Matches
Raven::WindowCloseEvent Class Reference

Event triggered when the window is requested to close. More...

#include <WindowEvent.h>

Inheritance diagram for Raven::WindowCloseEvent:
Raven::Event

Public Member Functions

 WindowCloseEvent ()=default
Public Member Functions inherited from Raven::Event
virtual ~Event ()=default
virtual EventType GetEventType () const =0
 Returns the runtime event type.
virtual const char * GetName () const =0
 Returns the name of the event.
virtual EventCategory GetCategoryFlags () const =0
 Returns the category flags of the event.
virtual std::string ToString () const
 Converts the event to a string for logging or debugging.
bool IsInCategory (EventCategory category) const
 Checks if the event belongs to the specified category.

Additional Inherited Members

Public Attributes inherited from Raven::Event
bool Handled = false
 Indicates whether the event has been handled.

Detailed Description

Event triggered when the window is requested to close.

Used to initiate the shutdown of the application. This event is typically intercepted by the main loop or state manager.

Constructor & Destructor Documentation

◆ WindowCloseEvent()

Raven::WindowCloseEvent::WindowCloseEvent ( )
default

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