Robot Devastation
Public Member Functions | Static Public Attributes | Private Attributes | List of all members
rd::WindowEvent Class Reference

Class that represents a window event. More...

#include <WindowEvent.hpp>

Public Member Functions

 WindowEvent (int event_id)
 
int getEvent () const
 Get the identifier for this window event. More...
 

Static Public Attributes

static const int WINDOW_UNKNOWN = -1
 Constant representing an unimplemented or unrecognized window action.
 
static const int WINDOW_CLOSE = 1
 Constant representing a close window action.
 

Private Attributes

int event_id
 Stores an identifier for the window event.
 

Detailed Description

This class must not be inherited from. Use factory classes and functions to perform custom initialization (see rd::SDLEventFactory).

Member Function Documentation

◆ getEvent()

int rd::WindowEvent::getEvent ( ) const
Returns
An integer type that stores an identifier representing the current window event

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