11 lines
373 B
C++
11 lines
373 B
C++
#include "../include/rewindow/types/event.h"
|
|
bool RWindowEvent::empty() {
|
|
if (timePoint == EmptyRWindowEvent.timePoint || this->timePoint == EmptyKeyDownEvent.timePoint || this->timePoint == EmptyMouseButtonDownEvent.timePoint)
|
|
return true;
|
|
return false;
|
|
}
|
|
|
|
std::chrono::high_resolution_clock::time_point RWindowEvent::timeStamp() {
|
|
return timePoint;
|
|
}
|