All pastes #708906 Raw Edit

Unnamed

public cpp v1 · immutable
#708906 ·published 2007-09-24 06:38 UTC
rendered paste body
if(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++;