Added functions to shield so it can retrieve its x and y position