Added a way of detecting whether the player got selected.
Added a method to move entities to where the mouse was clicked.