Nymph Game Engine
Chaiscript based Game Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Events Namespace Reference

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...
 

Enumeration Type Documentation

enum Events::EventType : unsigned int

Event type enum that is used when passing events.

Enumerator
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 

Function Documentation