added mouselistener for player