GuyInGrey / AptitudeEngine

A 2D based, new technology using, game engine in C#.
https://guyingrey.github.io/
MIT License
0 stars 0 forks source link

Mouse-Position in Input #14

Open dresswithpockets opened 7 years ago

dresswithpockets commented 7 years ago

What This Is

Add MouseWorldLocation and MouseScreenLocation to Input system.

Why

Mouse input will be used for things like interacting with UI elements, game mechanics, et cetera.

MousePositionWindow

A Vector2 representing the latest position of the mouse in the window.

MousePositionGame

A Vector2 representing the latest position of the mouse in the game world.