Just™ Game Engine
Classes | Namespaces | Macros | Enumerations | Functions
event.hpp File Reference
#include <iostream>

Go to the source code of this file.

Classes

class  jng::Event
 
class  jng::EventDispatcher
 

Namespaces

namespace  jng
 

Macros

#define EVENT_CLASS_TYPE(type)
 

Enumerations

enum class  jng::EventType {
  jng::None = 0 ,
  jng::WindowClose ,
  jng::WindowResize ,
  jng::WindowFocus ,
  jng::WindowNotFocus ,
  jng::WindowMove ,
  jng::GameTick ,
  jng::GameUpdate ,
  jng::GameRender ,
  jng::KeyPress ,
  jng::KeyRelease ,
  jng::MouseButtonPress ,
  jng::MouseButtonRelease ,
  jng::MouseMove ,
  jng::MouseScroll
}
 

Functions

std::ostream & jng::operator<< (std::ostream &os, const Event &event)
 

Macro Definition Documentation

◆ EVENT_CLASS_TYPE

#define EVENT_CLASS_TYPE (   type)
Value:
static EventType getStaticType() { return EventType::type; } \
EventType getType() const override { return getStaticType(); } \
const char* getName() const override { return #type; }
EventType
Definition: event.hpp:15