ca7286807a
- Add abstract Event class - Add EventDispatcher - Add Mouse, Key and Window Events
14 lines
247 B
C++
14 lines
247 B
C++
#include "copium/event/WindowFocusEvent.h"
|
|
|
|
namespace Copium
|
|
{
|
|
WindowFocusEvent::WindowFocusEvent(bool focused)
|
|
: Event{EventType::WindowFocus}, focused{focused}
|
|
{}
|
|
|
|
bool WindowFocusEvent::IsFocused() const
|
|
{
|
|
return focused;
|
|
}
|
|
}
|