FIFE  be64c707dea6b3250bd4355bf5c825d25920087d
FIFE::EventManager Class Reference

Event Manager manages all events related to FIFE. More...

#include <eventmanager.h>

+ Inheritance diagram for FIFE::EventManager:
+ Collaboration diagram for FIFE::EventManager:

Public Member Functions

 EventManager ()
 Constructor. More...
 
virtual ~EventManager ()
 Destructor. More...
 
void addCommandListener (ICommandListener *listener)
 Adds a listener to the back of the listener deque Listener will be notified via the corresponding events. More...
 
void addCommandListenerFront (ICommandListener *listener)
 Adds a listener to the front of the listener deque Listener will be notified via the corresponding events. More...
 
void removeCommandListener (ICommandListener *listener)
 Removes an added listener from the controller. More...
 
void dispatchCommand (Command &command)
 Use this method to send command to command listeners. More...
 
void addKeyListener (IKeyListener *listener)
 Adds a listener to the back of the listener deque Listener will be notified via the corresponding events. More...
 
void addKeyListenerFront (IKeyListener *listener)
 Adds a listener to the front of the listener deque Listener will be notified via the corresponding events. More...
 
void removeKeyListener (IKeyListener *listener)
 Removes an added listener from the controller. More...
 
void addTextListener (ITextListener *listener)
 Adds a listener to the back of the listener deque Listener will be notified via the corresponding events. More...
 
void addTextListenerFront (ITextListener *listener)
 Adds a listener to the front of the listener deque Listener will be notified via the corresponding events. More...
 
void removeTextListener (ITextListener *listener)
 Removes an added listener from the controller. More...
 
void addMouseListener (IMouseListener *listener)
 Adds a listener to the back of the listener deque Listener will be notified via the corresponding events. More...
 
void addMouseListenerFront (IMouseListener *listener)
 Adds a listener to the front of the listener deque Listener will be notified via the corresponding events. More...
 
void removeMouseListener (IMouseListener *listener)
 Removes an added listener from the controller. More...
 
void addSdlEventListener (ISdlEventListener *listener)
 Adds a listener to the back of the listener deque Listener will be notified via the corresponding events. More...
 
void addSdlEventListenerFront (ISdlEventListener *listener)
 Adds a listener to the front of the listener deque Listener will be notified via the corresponding events. More...
 
void removeSdlEventListener (ISdlEventListener *listener)
 Removes an added listener from the controller. More...
 
void addDropListener (IDropListener *listener)
 Adds a listener to the back of the listener deque Listener will be notified via the corresponding events. More...
 
void addDropListenerFront (IDropListener *listener)
 Adds a listener to the front of the listener deque Listener will be notified via the corresponding events. More...
 
void removeDropListener (IDropListener *listener)
 Removes an added listener from the controller. More...
 
void addJoystickListener (IJoystickListener *listener)
 
void addJoystickListenerFront (IJoystickListener *listener)
 
void removeJoystickListener (IJoystickListener *listener)
 
EventSourceType getEventSourceType ()
 Gets the source type of this event. More...
 
void processEvents ()
 Process the SDL event queue. More...
 
void setKeyFilter (IKeyFilter *keyFilter)
 
void setMouseSensitivity (float sensitivity)
 Sets mouse sensitivity The sensitivity is limited to the range -0.99 - 10.0. More...
 
float getMouseSensitivity () const
 Gets mouse sensitivity. More...
 
void setMouseAccelerationEnabled (bool acceleration)
 Sets mouse acceleration if mouse acceleration is enabled, then the mouse sensitivity is used as speed max. More...
 
bool isMouseAccelerationEnabled () const
 Returns if mouse acceleration is enabled or not. More...
 
bool isClipboardText () const
 Returns if clipboard have text or not. More...
 
std::string getClipboardText () const
 Returns the clipboard text as UTF-8 string. More...
 
void setClipboardText (const std::string &text)
 Sets clipboard text. More...
 
void setJoystickSupport (bool support)
 Sets the joystick support to enabled or disabled. More...
 
JoystickgetJoystick (int32_t instanceId)
 Return the joystick with the given instance id. More...
 
uint8_t getJoystickCount () const
 Return the number of joysticks / gamecontrollers. More...
 
void loadGamepadMapping (const std::string &file)
 Loads controller mappings from given file and if possible, it opens the related controllers. More...
 
void saveGamepadMapping (const std::string guid, const std::string &file)
 Saves controller mapping for given GUID in the specified file. More...
 
void saveGamepadMappings (const std::string &file)
 Saves all controller mappings that were used during the season. More...
 
std::string getGamepadStringMapping (const std::string &guid)
 Return the controller mapping for given GUID as string. More...
 
void setGamepadStringMapping (const std::string &mapping)
 Sets controller mapping from string and adds or updates the related controllers. More...
 
- Public Member Functions inherited from FIFE::ICommandController
virtual ~ICommandController ()
 
- Public Member Functions inherited from FIFE::IKeyController
virtual ~IKeyController ()
 
- Public Member Functions inherited from FIFE::ITextController
virtual ~ITextController ()
 
- Public Member Functions inherited from FIFE::IMouseController
virtual ~IMouseController ()
 
- Public Member Functions inherited from FIFE::ISdlEventController
virtual ~ISdlEventController ()
 
- Public Member Functions inherited from FIFE::IDropController
virtual ~IDropController ()
 
- Public Member Functions inherited from FIFE::IEventSource
virtual ~IEventSource ()
 

Private Member Functions

void processWindowEvent (SDL_Event event)
 
void processKeyEvent (SDL_Event event)
 
void processTextEvent (SDL_Event event)
 
void processMouseEvent (SDL_Event event)
 
void processDropEvent (SDL_Event event)
 
bool combineEvents (SDL_Event &event1, const SDL_Event &event2)
 
bool dispatchSdlEvent (SDL_Event &evt)
 
void dispatchKeyEvent (KeyEvent &evt)
 
void dispatchTextEvent (TextEvent &evt)
 
void dispatchMouseEvent (MouseEvent &evt)
 
void dispatchDropEvent (DropEvent &evt)
 
void fillModifiers (InputEvent &evt)
 
void fillKeyEvent (const SDL_Event &sdlevt, KeyEvent &keyevt)
 
void fillTextEvent (const SDL_Event &sdlevt, TextEvent &txtevt)
 
void fillMouseEvent (const SDL_Event &sdlevt, MouseEvent &mouseevt)
 

Private Attributes

std::deque< ICommandListener * > m_commandListeners
 
std::deque< IKeyListener * > m_keyListeners
 
std::deque< ITextListener * > m_textListeners
 
std::deque< IMouseListener * > m_mouseListeners
 
std::deque< ISdlEventListener * > m_sdleventListeners
 
std::deque< IDropListener * > m_dropListeners
 
std::map< int32_t, bool > m_keystatemap
 
IKeyFilterm_keyfilter
 
int32_t m_mousestate
 
MouseEvent::MouseButtonType m_mostrecentbtn
 
float m_mouseSensitivity
 
bool m_acceleration
 
bool m_warp
 
bool m_enter
 
uint16_t m_oldX
 
uint16_t m_oldY
 
uint32_t m_lastTicks
 
float m_oldVelocity
 
JoystickManagerm_joystickManager
 

Detailed Description

Event Manager manages all events related to FIFE.

Definition at line 79 of file eventmanager.h.

Constructor & Destructor Documentation

◆ EventManager()

FIFE::EventManager::EventManager ( )

Constructor.

Definition at line 47 of file eventmanager.cpp.

◆ ~EventManager()

FIFE::EventManager::~EventManager ( )
virtual

Destructor.

Definition at line 68 of file eventmanager.cpp.

References m_joystickManager.

Member Function Documentation

◆ addCommandListener()

void FIFE::EventManager::addCommandListener ( ICommandListener listener)
virtual

Adds a listener to the back of the listener deque Listener will be notified via the corresponding events.

Parameters
listenerlistener to add

Implements FIFE::ICommandController.

Definition at line 101 of file eventmanager.cpp.

References m_commandListeners.

◆ addCommandListenerFront()

void FIFE::EventManager::addCommandListenerFront ( ICommandListener listener)
virtual

Adds a listener to the front of the listener deque Listener will be notified via the corresponding events.

Parameters
listenerlistener to add

Implements FIFE::ICommandController.

Definition at line 105 of file eventmanager.cpp.

References m_commandListeners.

◆ addDropListener()

void FIFE::EventManager::addDropListener ( IDropListener listener)
virtual

Adds a listener to the back of the listener deque Listener will be notified via the corresponding events.

Parameters
listenerlistener to add

Implements FIFE::IDropController.

Definition at line 161 of file eventmanager.cpp.

References m_dropListeners.

◆ addDropListenerFront()

void FIFE::EventManager::addDropListenerFront ( IDropListener listener)
virtual

Adds a listener to the front of the listener deque Listener will be notified via the corresponding events.

Parameters
listenerlistener to add

Implements FIFE::IDropController.

Definition at line 165 of file eventmanager.cpp.

References m_dropListeners.

◆ addJoystickListener()

void FIFE::EventManager::addJoystickListener ( IJoystickListener listener)

◆ addJoystickListenerFront()

void FIFE::EventManager::addJoystickListenerFront ( IJoystickListener listener)

◆ addKeyListener()

void FIFE::EventManager::addKeyListener ( IKeyListener listener)
virtual

Adds a listener to the back of the listener deque Listener will be notified via the corresponding events.

Parameters
listenerlistener to add

Implements FIFE::IKeyController.

Definition at line 113 of file eventmanager.cpp.

References m_keyListeners.

◆ addKeyListenerFront()

void FIFE::EventManager::addKeyListenerFront ( IKeyListener listener)
virtual

Adds a listener to the front of the listener deque Listener will be notified via the corresponding events.

Parameters
listenerlistener to add

Implements FIFE::IKeyController.

Definition at line 117 of file eventmanager.cpp.

References m_keyListeners.

◆ addMouseListener()

void FIFE::EventManager::addMouseListener ( IMouseListener listener)
virtual

Adds a listener to the back of the listener deque Listener will be notified via the corresponding events.

Parameters
listenerlistener to add

Implements FIFE::IMouseController.

Definition at line 137 of file eventmanager.cpp.

References m_mouseListeners.

◆ addMouseListenerFront()

void FIFE::EventManager::addMouseListenerFront ( IMouseListener listener)
virtual

Adds a listener to the front of the listener deque Listener will be notified via the corresponding events.

Parameters
listenerlistener to add

Implements FIFE::IMouseController.

Definition at line 141 of file eventmanager.cpp.

References m_mouseListeners.

◆ addSdlEventListener()

void FIFE::EventManager::addSdlEventListener ( ISdlEventListener listener)
virtual

Adds a listener to the back of the listener deque Listener will be notified via the corresponding events.

Parameters
listenerlistener to add

Implements FIFE::ISdlEventController.

Definition at line 149 of file eventmanager.cpp.

References m_sdleventListeners.

◆ addSdlEventListenerFront()

void FIFE::EventManager::addSdlEventListenerFront ( ISdlEventListener listener)
virtual

Adds a listener to the front of the listener deque Listener will be notified via the corresponding events.

Parameters
listenerlistener to add

Implements FIFE::ISdlEventController.

Definition at line 153 of file eventmanager.cpp.

References m_sdleventListeners.

◆ addTextListener()

void FIFE::EventManager::addTextListener ( ITextListener listener)
virtual

Adds a listener to the back of the listener deque Listener will be notified via the corresponding events.

Parameters
listenerlistener to add

Implements FIFE::ITextController.

Definition at line 125 of file eventmanager.cpp.

References m_textListeners.

◆ addTextListenerFront()

void FIFE::EventManager::addTextListenerFront ( ITextListener listener)
virtual

Adds a listener to the front of the listener deque Listener will be notified via the corresponding events.

Parameters
listenerlistener to add

Implements FIFE::ITextController.

Definition at line 129 of file eventmanager.cpp.

References m_textListeners.

◆ combineEvents()

bool FIFE::EventManager::combineEvents ( SDL_Event &  event1,
const SDL_Event &  event2 
)
private

Definition at line 316 of file eventmanager.cpp.

Referenced by processEvents().

+ Here is the caller graph for this function:

◆ dispatchCommand()

void FIFE::EventManager::dispatchCommand ( Command command)
virtual

Use this method to send command to command listeners.

Parameters
commandcommand to dispatch

Implements FIFE::ICommandController.

Definition at line 191 of file eventmanager.cpp.

References FIFE::Command::isConsumed(), and m_commandListeners.

Referenced by processEvents(), and processWindowEvent().

+ Here is the caller graph for this function:

◆ dispatchDropEvent()

void FIFE::EventManager::dispatchDropEvent ( DropEvent evt)
private

Definition at line 304 of file eventmanager.cpp.

References FIFE::DropEvent::isConsumed(), and m_dropListeners.

Referenced by processDropEvent().

+ Here is the caller graph for this function:

◆ dispatchKeyEvent()

void FIFE::EventManager::dispatchKeyEvent ( KeyEvent evt)
private

◆ dispatchMouseEvent()

◆ dispatchSdlEvent()

bool FIFE::EventManager::dispatchSdlEvent ( SDL_Event &  evt)
private

Definition at line 293 of file eventmanager.cpp.

References m_sdleventListeners.

Referenced by processKeyEvent(), processMouseEvent(), processTextEvent(), and processWindowEvent().

+ Here is the caller graph for this function:

◆ dispatchTextEvent()

void FIFE::EventManager::dispatchTextEvent ( TextEvent evt)
private

Definition at line 224 of file eventmanager.cpp.

References FIFE::TextEvent::EDIT, FIFE::TextEvent::getType(), FIFE::TextEvent::INPUT, FIFE::TextEvent::isConsumed(), and m_textListeners.

Referenced by processTextEvent().

+ Here is the caller graph for this function:

◆ fillKeyEvent()

void FIFE::EventManager::fillKeyEvent ( const SDL_Event &  sdlevt,
KeyEvent keyevt 
)
private

◆ fillModifiers()

◆ fillMouseEvent()

◆ fillTextEvent()

void FIFE::EventManager::fillTextEvent ( const SDL_Event &  sdlevt,
TextEvent txtevt 
)
private

Definition at line 659 of file eventmanager.cpp.

References FIFE::_log, FIFE::TextEvent::EDIT, FL_WARN, FIFE::TextEvent::INPUT, FIFE::TextEvent::setText(), and FIFE::TextEvent::setType().

Referenced by processTextEvent().

+ Here is the caller graph for this function:

◆ getClipboardText()

std::string FIFE::EventManager::getClipboardText ( ) const

Returns the clipboard text as UTF-8 string.

Returns
UTF-8 string or an empty string if the cliboard have no text.

Definition at line 717 of file eventmanager.cpp.

◆ getEventSourceType()

EventSourceType FIFE::EventManager::getEventSourceType ( )
virtual

Gets the source type of this event.

Returns
source type of this event

Implements FIFE::IEventSource.

Definition at line 684 of file eventmanager.cpp.

References FIFE::ES_ENGINE.

◆ getGamepadStringMapping()

std::string FIFE::EventManager::getGamepadStringMapping ( const std::string &  guid)

Return the controller mapping for given GUID as string.

Definition at line 770 of file eventmanager.cpp.

References FIFE::JoystickManager::getStringMapping(), and m_joystickManager.

◆ getJoystick()

Joystick * FIFE::EventManager::getJoystick ( int32_t  instanceId)

Return the joystick with the given instance id.

Definition at line 738 of file eventmanager.cpp.

References FIFE::JoystickManager::getJoystick(), and m_joystickManager.

◆ getJoystickCount()

uint8_t FIFE::EventManager::getJoystickCount ( ) const

Return the number of joysticks / gamecontrollers.

Definition at line 745 of file eventmanager.cpp.

References FIFE::JoystickManager::getJoystickCount(), and m_joystickManager.

◆ getMouseSensitivity()

float FIFE::EventManager::getMouseSensitivity ( ) const

Gets mouse sensitivity.

Definition at line 701 of file eventmanager.cpp.

References m_mouseSensitivity.

◆ isClipboardText()

bool FIFE::EventManager::isClipboardText ( ) const

Returns if clipboard have text or not.

Returns
True if the clipboard contains text, false if not.

Definition at line 713 of file eventmanager.cpp.

◆ isMouseAccelerationEnabled()

bool FIFE::EventManager::isMouseAccelerationEnabled ( ) const

Returns if mouse acceleration is enabled or not.

Returns
True if mouse acceleration is enabled, false if not.

Definition at line 709 of file eventmanager.cpp.

References m_acceleration.

◆ loadGamepadMapping()

void FIFE::EventManager::loadGamepadMapping ( const std::string &  file)

Loads controller mappings from given file and if possible, it opens the related controllers.

Definition at line 752 of file eventmanager.cpp.

References FIFE::JoystickManager::loadMapping(), and m_joystickManager.

◆ processDropEvent()

void FIFE::EventManager::processDropEvent ( SDL_Event  event)
private

Definition at line 553 of file eventmanager.cpp.

References dispatchDropEvent(), FIFE::DropEvent::setPath(), and FIFE::DropEvent::setSource().

Referenced by processEvents().

+ Here is the caller graph for this function:

◆ processEvents()

void FIFE::EventManager::processEvents ( )

Process the SDL event queue.

This is to be called only by the engine itself once per frame. It passes appropriate events to their listeners

Definition at line 333 of file eventmanager.cpp.

References FIFE::CMD_QUIT_GAME, combineEvents(), dispatchCommand(), m_joystickManager, FIFE::JoystickManager::processControllerEvent(), processDropEvent(), FIFE::JoystickManager::processJoystickEvent(), processKeyEvent(), processMouseEvent(), processTextEvent(), processWindowEvent(), FIFE::Command::setCommandType(), and FIFE::Command::setSource().

Referenced by FIFE::Engine::initializePumping(), and FIFE::Engine::pump().

+ Here is the caller graph for this function:

◆ processKeyEvent()

void FIFE::EventManager::processKeyEvent ( SDL_Event  event)
private

◆ processMouseEvent()

◆ processTextEvent()

void FIFE::EventManager::processTextEvent ( SDL_Event  event)
private

Definition at line 464 of file eventmanager.cpp.

References dispatchSdlEvent(), dispatchTextEvent(), fillTextEvent(), and FIFE::TextEvent::setSource().

Referenced by processEvents().

+ Here is the caller graph for this function:

◆ processWindowEvent()

void FIFE::EventManager::processWindowEvent ( SDL_Event  event)
private

◆ removeCommandListener()

void FIFE::EventManager::removeCommandListener ( ICommandListener listener)
virtual

Removes an added listener from the controller.

Listener will not be notified anymore via the corresponding events

Parameters
listenerlistener to remove

Implements FIFE::ICommandController.

Definition at line 109 of file eventmanager.cpp.

References m_commandListeners.

◆ removeDropListener()

void FIFE::EventManager::removeDropListener ( IDropListener listener)
virtual

Removes an added listener from the controller.

Listener will not be notified anymore via the corresponding events

Parameters
listenerlistener to remove

Implements FIFE::IDropController.

Definition at line 169 of file eventmanager.cpp.

References m_dropListeners.

◆ removeJoystickListener()

void FIFE::EventManager::removeJoystickListener ( IJoystickListener listener)

◆ removeKeyListener()

void FIFE::EventManager::removeKeyListener ( IKeyListener listener)
virtual

Removes an added listener from the controller.

Listener will not be notified anymore via the corresponding events

Parameters
listenerlistener to remove

Implements FIFE::IKeyController.

Definition at line 121 of file eventmanager.cpp.

References m_keyListeners.

◆ removeMouseListener()

void FIFE::EventManager::removeMouseListener ( IMouseListener listener)
virtual

Removes an added listener from the controller.

Listener will not be notified anymore via the corresponding events

Parameters
listenerlistener to remove

Implements FIFE::IMouseController.

Definition at line 145 of file eventmanager.cpp.

References m_mouseListeners.

◆ removeSdlEventListener()

void FIFE::EventManager::removeSdlEventListener ( ISdlEventListener listener)
virtual

Removes an added listener from the controller.

Listener will not be notified anymore via the corresponding events

Parameters
listenerlistener to remove

Implements FIFE::ISdlEventController.

Definition at line 157 of file eventmanager.cpp.

References m_sdleventListeners.

◆ removeTextListener()

void FIFE::EventManager::removeTextListener ( ITextListener listener)
virtual

Removes an added listener from the controller.

Listener will not be notified anymore via the corresponding events

Parameters
listenerlistener to remove

Implements FIFE::ITextController.

Definition at line 133 of file eventmanager.cpp.

References m_textListeners.

◆ saveGamepadMapping()

void FIFE::EventManager::saveGamepadMapping ( const std::string  guid,
const std::string &  file 
)

Saves controller mapping for given GUID in the specified file.

Definition at line 758 of file eventmanager.cpp.

References m_joystickManager, and FIFE::JoystickManager::saveMapping().

◆ saveGamepadMappings()

void FIFE::EventManager::saveGamepadMappings ( const std::string &  file)

Saves all controller mappings that were used during the season.

Definition at line 764 of file eventmanager.cpp.

References m_joystickManager, and FIFE::JoystickManager::saveMappings().

◆ setClipboardText()

void FIFE::EventManager::setClipboardText ( const std::string &  text)

Sets clipboard text.

Parameters
textThe text in UTF-8 format.

Definition at line 725 of file eventmanager.cpp.

◆ setGamepadStringMapping()

void FIFE::EventManager::setGamepadStringMapping ( const std::string &  mapping)

Sets controller mapping from string and adds or updates the related controllers.

Definition at line 778 of file eventmanager.cpp.

References m_joystickManager, and FIFE::JoystickManager::setStringMapping().

◆ setJoystickSupport()

void FIFE::EventManager::setJoystickSupport ( bool  support)

Sets the joystick support to enabled or disabled.

Definition at line 729 of file eventmanager.cpp.

References m_joystickManager.

Referenced by FIFE::Engine::init().

+ Here is the caller graph for this function:

◆ setKeyFilter()

void FIFE::EventManager::setKeyFilter ( IKeyFilter keyFilter)

Definition at line 688 of file eventmanager.cpp.

References m_keyfilter.

◆ setMouseAccelerationEnabled()

void FIFE::EventManager::setMouseAccelerationEnabled ( bool  acceleration)

Sets mouse acceleration if mouse acceleration is enabled, then the mouse sensitivity is used as speed max.

Definition at line 705 of file eventmanager.cpp.

References m_acceleration.

Referenced by FIFE::Engine::init().

+ Here is the caller graph for this function:

◆ setMouseSensitivity()

void FIFE::EventManager::setMouseSensitivity ( float  sensitivity)

Sets mouse sensitivity The sensitivity is limited to the range -0.99 - 10.0.

Definition at line 692 of file eventmanager.cpp.

References m_mouseSensitivity.

Referenced by FIFE::Engine::init().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_acceleration

bool FIFE::EventManager::m_acceleration
private

◆ m_commandListeners

std::deque<ICommandListener*> FIFE::EventManager::m_commandListeners
private

◆ m_dropListeners

std::deque<IDropListener*> FIFE::EventManager::m_dropListeners
private

◆ m_enter

bool FIFE::EventManager::m_enter
private

Definition at line 248 of file eventmanager.h.

Referenced by processMouseEvent().

◆ m_joystickManager

◆ m_keyfilter

IKeyFilter* FIFE::EventManager::m_keyfilter
private

Definition at line 238 of file eventmanager.h.

Referenced by processKeyEvent(), and setKeyFilter().

◆ m_keyListeners

std::deque<IKeyListener*> FIFE::EventManager::m_keyListeners
private

◆ m_keystatemap

std::map<int32_t, bool> FIFE::EventManager::m_keystatemap
private

Definition at line 237 of file eventmanager.h.

Referenced by fillModifiers(), and processKeyEvent().

◆ m_lastTicks

uint32_t FIFE::EventManager::m_lastTicks
private

Definition at line 251 of file eventmanager.h.

Referenced by processMouseEvent().

◆ m_mostrecentbtn

MouseEvent::MouseButtonType FIFE::EventManager::m_mostrecentbtn
private

Definition at line 240 of file eventmanager.h.

Referenced by fillMouseEvent(), and processMouseEvent().

◆ m_mouseListeners

std::deque<IMouseListener*> FIFE::EventManager::m_mouseListeners
private

◆ m_mouseSensitivity

float FIFE::EventManager::m_mouseSensitivity
private

Definition at line 245 of file eventmanager.h.

Referenced by getMouseSensitivity(), processMouseEvent(), and setMouseSensitivity().

◆ m_mousestate

int32_t FIFE::EventManager::m_mousestate
private

Definition at line 239 of file eventmanager.h.

Referenced by fillMouseEvent(), and processMouseEvent().

◆ m_oldVelocity

float FIFE::EventManager::m_oldVelocity
private

Definition at line 252 of file eventmanager.h.

Referenced by processMouseEvent().

◆ m_oldX

uint16_t FIFE::EventManager::m_oldX
private

Definition at line 249 of file eventmanager.h.

Referenced by processMouseEvent().

◆ m_oldY

uint16_t FIFE::EventManager::m_oldY
private

Definition at line 250 of file eventmanager.h.

Referenced by processMouseEvent().

◆ m_sdleventListeners

std::deque<ISdlEventListener*> FIFE::EventManager::m_sdleventListeners
private

◆ m_textListeners

std::deque<ITextListener*> FIFE::EventManager::m_textListeners
private

◆ m_warp

bool FIFE::EventManager::m_warp
private

Definition at line 247 of file eventmanager.h.

Referenced by fillMouseEvent(), and processMouseEvent().


The documentation for this class was generated from the following files: