- while(screen != NULL){
- switch(screen->tile){
- case FREE: printf("x = %d y = %d tile = %s\n", screen->x, screen->y, "FREE");break;
- case WALL: printf("x = %d y = %d tile = %s\n", screen->x, screen->y, "WALL");break;
- case BOX: printf("x = %d y = %d tile = %s\n", screen->x, screen->y, "BOX");break;
- case TARGET: printf("x = %d y = %d tile = %s\n", screen->x, screen->y, "TARGET");break;
- case AGENT: printf("x = %d y = %d tile = %s\n", screen->x, screen->y, "AGENT");break;
- case TARGAGENT: printf("x = %d y = %d tile = %s\n", screen->x, screen->y, "TARGAGENT");break;
- case TARGBOX: printf("x = %d y = %d tile = %s\n", screen->x, screen->y, "TARGBOX");break;
- }
- screen = screen->next;
- }
+ while(screen != NULL){
+ switch(screen->tile){
+ case FREE: printf("x = %d y = %d tile = %s\n", screen->x, screen->y, "FREE");break;
+ case WALL: printf("x = %d y = %d tile = %s\n", screen->x, screen->y, "WALL");break;
+ case BOX: printf("x = %d y = %d tile = %s\n", screen->x, screen->y, "BOX");break;
+ case TARGET: printf("x = %d y = %d tile = %s\n", screen->x, screen->y, "TARGET");break;
+ case AGENT: printf("x = %d y = %d tile = %s\n", screen->x, screen->y, "AGENT");break;
+ case TARGAGENT: printf("x = %d y = %d tile = %s\n", screen->x, screen->y, "TARGAGENT");break;
+ case TARGBOX: printf("x = %d y = %d tile = %s\n", screen->x, screen->y, "TARGBOX");break;
+ }
+ screen = screen->next;
+ }