[gameprogrammer] Re: engine design, question 2

So you can port it when you work on other games.

Roger D Vargas wrote:

After studying game engines API and a game programming book I have noticed that all uses a separate Input class. Why should I use one instead of processing the events in the main loop via sdl event management functions? The only reason that comes to my mind is to isolate event management from the game logic and so be able to switch event handling library or something like that.



---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: