Checking if the hero is on the ground
Overriding touchEnded