asrob-uc3m / robotDevastation

A new-generation shooter with augmented reality and real robots. You can play online with other users with your PC, moving robots in championships and campaigns: all 24/7!
http://asrob-uc3m.github.io/workgroups/2017-05-28-robot-devastation.html
GNU Lesser General Public License v2.1
9 stars 4 forks source link

Encapsulate calls to SDL_PumpEvents #72

Closed David-Estevez closed 8 years ago

David-Estevez commented 8 years ago

Currently SDL_PumpEvents is called from the RfModule thread directly, which breaks encapsulation. I propose to move it to a new (static?) member in RdInputManager, so that even if we have to call it frequently still it is hidden inside RdInputManager.

David-Estevez commented 8 years ago

Done at b76af8938a34eab37f507c8eaecfab1b061b6ef9