Unnamed
public cpp v1 · immutableif(gx > current->curr_x){ // Increase or decrease lion x position current->curr_x - 1;}if(gx < current->curr_x){ current->curr_x + 1;}if(gy > current->curr_y){ // Increase of decrease lion y position current->curr_y - 1;}if(gy < current->curr_y){ current->curr_y + 1;}if( gx > current->curr_x ) current->curr_x--;if( gx < current->curr_x ) current->curr_x++;if( gy > current->curr_y ) current->curr_y--;if( gy < current->curr_y ) current->curr_y++;