cambiado el nombre de map.h a room.h

This commit is contained in:
2022-07-01 21:26:43 +02:00
parent 661b920dfa
commit 5530502bcf
10 changed files with 97 additions and 42 deletions

View File

@@ -47,10 +47,10 @@ bool Asset::check()
}
// Resultado
if (success)
printf("\n** All files OK.\n\n");
else
printf("\n** A file is missing. Exiting.\n\n");
if (success)
printf("\n** All files OK.\n\n");
else
printf("\n** A file is missing. Exiting.\n\n");
return success;
}
@@ -101,6 +101,15 @@ std::string Asset::getTypeName(int type)
case data:
return "DATA";
break;
case room:
return "ROOM";
break;
case enemy:
return "ENEMY";
break;
case item:
return "ITEM";
break;
default:
return "ERROR";
break;