Nebula-Developer / Yoru-Engine

🌃 C# Game/Application Framework
MIT License
4 stars 0 forks source link

Mouse interaction discussion #9

Closed Nebula-Developer closed 5 months ago

Nebula-Developer commented 5 months ago

We need to find a reliable way of handling mouse interaction that allows for no collision between element interaction.

Nebula-Developer commented 5 months ago

For masking mouse events, element mouse press methods will have a boolean return, and once the InputContext encounters a false, it wont invoke any more mouse press methods.

Nebula-Developer commented 5 months ago

Closing for now. I will reopen this when considering further improvements for mouse interaction.

Nebula-Developer commented 5 months ago

I will work on implementing depth-constants for the elements, so the masking order is more efficient.