Nymph Game Engine
Chaiscript based Game Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
event_type.h File Reference
#include <map>
#include <string>

Go to the source code of this file.

Namespaces

 Events
 

Enumerations

enum  Events::EventType : unsigned int {
  Events::MOUSE_CURSOR, Events::MOUSE_SCROLL, Events::MOUSE_BUTTON_DOWN, Events::MOUSE_BUTTON_UP,
  Events::CURSOR_ENTER, Events::CURSOR_LEAVE, Events::KEY_DOWN, Events::KEY_UP,
  Events::KEY_REPEAT, Events::CHARACTER_TYPED, Events::SPRITE_MOVE, Events::SET_SHADER,
  Events::ADD_TEXTURE, Events::REMOVE_TEXTURE, Events::SET_ACTIVE, Events::SET_ENTITY_ACTIVE,
  Events::SET_UNIFORM, Events::ANIMATION_TRIGGER, Events::SUSPEND_KEY_INPUT, Events::RESUME_KEY_INPUT,
  Events::CHANGE_TEXT, Events::DEBUG_COMMAND, Events::LOAD_MAP, Events::LOAD_CHARACTER,
  Events::TOGGLE_FREE_CAMERA, Events::LIST_MAPS, Events::LIST_CHARACTERS, Events::LIST_LAYERS,
  Events::TOGGLE_LIGHTS, Events::TOGGLE_LAYER, Events::WINDOW_EXIT
}
 Event type enum that is used when passing events. More...
 

Functions

std::map< EventType, std::string > Events::EventTypesToString ()
 This gets all possible event types in their string form. More...