Implemented function which handles player coordinates changes after contact with enemy and fall through map