Maksasj / bebone

☠️ game development framework/engine aimed for flexible and highly customizable game development
MIT License
7 stars 0 forks source link

Removed InputHandler field from Window class #121

Closed Soskar1 closed 1 week ago

Soskar1 commented 1 week ago

I made small changes to the Window class code. Removed InputHandler field from Window class. Now we need to create InputHandler object separately and add listeners by ourselves. It gives more control over input registration.

In the future plans, I will refactor Input class. I think we can move the input queue elsewhere. I will try to experiment with this in another branch