Nymph Game Engine
Chaiscript based Game Engine
|
Namespaces | |
FSM | |
Classes | |
class | Event |
Class for event. More... | |
class | Observer |
Interface to be notified of an item's changes. More... | |
class | Subject |
Class for a subject that an observer would observe for changes. More... | |
Enumerations | |
enum | EventType : unsigned int { MOUSE_CURSOR, MOUSE_SCROLL, MOUSE_BUTTON_DOWN, MOUSE_BUTTON_UP, CURSOR_ENTER, CURSOR_LEAVE, KEY_DOWN, KEY_UP, KEY_REPEAT, CHARACTER_TYPED, SPRITE_MOVE, SET_SHADER, ADD_TEXTURE, REMOVE_TEXTURE, SET_ACTIVE, SET_ENTITY_ACTIVE, SET_UNIFORM, ANIMATION_TRIGGER, SUSPEND_KEY_INPUT, RESUME_KEY_INPUT, CHANGE_TEXT, DEBUG_COMMAND, LOAD_MAP, LOAD_CHARACTER, TOGGLE_FREE_CAMERA, LIST_MAPS, LIST_CHARACTERS, LIST_LAYERS, TOGGLE_LIGHTS, TOGGLE_LAYER, WINDOW_EXIT } |
Event type enum that is used when passing events. More... | |
Functions | |
std::map< EventType, std::string > | EventTypesToString () |
This gets all possible event types in their string form. More... | |
enum Events::EventType : unsigned int |
Event type enum that is used when passing events.
|
inline |
This gets all possible event types in their string form.
References ADD_TEXTURE, ANIMATION_TRIGGER, CHANGE_TEXT, CHARACTER_TYPED, CURSOR_ENTER, CURSOR_LEAVE, DEBUG_COMMAND, KEY_DOWN, KEY_UP, LIST_CHARACTERS, LIST_LAYERS, LIST_MAPS, LOAD_CHARACTER, LOAD_MAP, MOUSE_BUTTON_DOWN, MOUSE_BUTTON_UP, MOUSE_CURSOR, MOUSE_SCROLL, REMOVE_TEXTURE, RESUME_KEY_INPUT, SET_ACTIVE, SET_ENTITY_ACTIVE, SET_SHADER, SET_UNIFORM, SPRITE_MOVE, SUSPEND_KEY_INPUT, TOGGLE_FREE_CAMERA, TOGGLE_LAYER, TOGGLE_LIGHTS, and WINDOW_EXIT.