e2d::core::EventHandler Class Reference

List of all members.


Detailed Description

Processes any kind of user input (events). It's strongly recommend to do not instantitate and use it, as it is used internally by Easy2D. To respond to any event, use the methods provided in Implementation.

Public Member Functions

bool Process (Implementation *user_implementation, Utilities *Utils)
 Processes events.

Member Function Documentation

bool e2d::core::EventHandler::Process ( Implementation user_implementation,
Utilities Utils 
)

Capture any event SDL throws, and calls the Implementation event handling methods.

Parameters:
user_implementation the user-made game
Utils see Utilities
Returns:
false if the event is SDL_QUIT, true otherwise


Generated on Tue Dec 8 10:32:44 2009 for Easy2D by  doxygen 1.5.6